Skip to content

Commit

Permalink
drop extra semicolons
Browse files Browse the repository at this point in the history
Change-Id: Ie6713d1bdf0010e5bc0bb70ca995c4dd36408673
  • Loading branch information
dtardon committed Nov 13, 2016
1 parent 27a165c commit 3838475
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions desktop/source/app/sofficemain.cxx
Expand Up @@ -81,7 +81,7 @@ static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor,
{
std::string ini_path = CrashReporter::getIniFileName();
std::ofstream minidump_file(ini_path, std::ios_base::app);
minidump_file << "DumpFile=" << descriptor.path() << "\n";;
minidump_file << "DumpFile=" << descriptor.path() << "\n";
minidump_file.close();
SAL_WARN("desktop", "minidump generated: " << descriptor.path());
return succeeded;
Expand All @@ -97,7 +97,7 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id,
// TODO: moggi: can we avoid this conversion
std::wstring_convert<std::codecvt_utf8<wchar_t>> conv1;
std::string aPath = conv1.to_bytes(std::wstring(path)) + conv1.to_bytes(std::wstring(id)) + ".dmp";
minidump_file << "DumpFile=" << aPath << "\n";;
minidump_file << "DumpFile=" << aPath << "\n";
minidump_file.close();
SAL_WARN("desktop", "minidump generated: " << aPath);
return succeeded;
Expand Down
2 changes: 1 addition & 1 deletion oox/source/drawingml/shape.cxx
Expand Up @@ -1136,7 +1136,7 @@ Reference< XShape > const & Shape::createAndInsert(
if ( pFontRef->maPhClr.isUsed() )
{
aCharStyleProperties.maFillProperties.maFillColor = pFontRef->maPhClr;
aCharStyleProperties.maFillProperties.moFillType.set(XML_solidFill);;
aCharStyleProperties.maFillProperties.moFillType.set(XML_solidFill);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package/source/zippackage/ZipPackageStream.cxx
Expand Up @@ -177,7 +177,7 @@ uno::Reference< io::XInputStream > ZipPackageStream::GetRawEncrStreamNoHeaderCop
// create temporary stream
uno::Reference < io::XTempFile > xTempFile = io::TempFile::create(m_xContext);
uno::Reference < io::XOutputStream > xTempOut = xTempFile->getOutputStream();
uno::Reference < io::XInputStream > xTempIn = xTempFile->getInputStream();;
uno::Reference < io::XInputStream > xTempIn = xTempFile->getInputStream();
uno::Reference < io::XSeekable > xTempSeek( xTempOut, UNO_QUERY_THROW );

// copy the raw stream to the temporary file starting from the current position
Expand Down
2 changes: 1 addition & 1 deletion sc/source/filter/xml/xmlcelli.cxx
Expand Up @@ -1145,7 +1145,7 @@ void ScXMLTableRowCellContext::PutValueCell( const ScAddress& rCurrentPos )
ScRefCellValue aCell(*rXMLImport.GetDocument(), rCurrentPos);
if (aCell.meType == CELLTYPE_FORMULA)
{
ScFormulaCell* pFCell = aCell.mpFormula;;
ScFormulaCell* pFCell = aCell.mpFormula;
SetFormulaCell(pFCell);
if (pFCell)
pFCell->SetNeedNumberFormat( true );
Expand Down
2 changes: 1 addition & 1 deletion sc/source/filter/xml/xmlconti.cxx
Expand Up @@ -69,7 +69,7 @@ SvXMLImportContext *ScXMLContentContext::CreateChildContext( sal_uInt16 nPrefix,
sOUText.append(' ');
}

return new SvXMLImportContext( GetImport(), nPrefix, rLName );;
return new SvXMLImportContext( GetImport(), nPrefix, rLName );
}

void ScXMLContentContext::Characters( const OUString& rChars )
Expand Down
4 changes: 2 additions & 2 deletions sc/source/ui/view/cellsh4.cxx
Expand Up @@ -374,7 +374,7 @@ void ScCellShell::ExecuteMove( SfxRequest& rReq )
if ( pReqArgs && pReqArgs->HasItem( FN_PARAM_1, &pColItem ) &&
pReqArgs->HasItem( FN_PARAM_2, &pModifierItem ) )
{
SCCOL nCol = static_cast<SCCOL>(static_cast<const SfxInt32Item*>(pColItem)->GetValue());;
SCCOL nCol = static_cast<SCCOL>(static_cast<const SfxInt32Item*>(pColItem)->GetValue());
sal_Int16 nModifier = static_cast<sal_Int16>(static_cast<const SfxInt16Item*>(pModifierItem)->GetValue());

pTabViewShell->MarkColumns( nCol, nModifier );
Expand All @@ -391,7 +391,7 @@ void ScCellShell::ExecuteMove( SfxRequest& rReq )
if ( pReqArgs && pReqArgs->HasItem( FN_PARAM_1, &pRowItem ) &&
pReqArgs->HasItem( FN_PARAM_2, &pModifierItem ) )
{
SCROW nRow = static_cast<SCROW>(static_cast<const SfxInt32Item*>(pRowItem)->GetValue());;
SCROW nRow = static_cast<SCROW>(static_cast<const SfxInt32Item*>(pRowItem)->GetValue());
sal_Int16 nModifier = static_cast<sal_Int16>(static_cast<const SfxInt16Item*>(pModifierItem)->GetValue());

pTabViewShell->MarkRows( nRow, nModifier );
Expand Down
2 changes: 1 addition & 1 deletion sd/source/ui/func/fuconstr.cxx
Expand Up @@ -218,7 +218,7 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
*/
bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
{
return FuDraw::KeyInput(rKEvt);;
return FuDraw::KeyInput(rKEvt);
}

void FuConstruct::Activate()
Expand Down
2 changes: 1 addition & 1 deletion sd/source/ui/view/drviews9.cxx
Expand Up @@ -585,7 +585,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
pAttr->Put(aStyleItem);
XFillGradientItem aGradientItem(pName->GetValue (), aGradient);
aGradientItem.SetWhich(XATTR_FILLGRADIENT);
pAttr->Put(aGradientItem);;
pAttr->Put(aGradientItem);
}

rBindings.Invalidate (SID_ATTR_FILL_GRADIENT);
Expand Down
4 changes: 2 additions & 2 deletions sw/source/ui/dbui/mmresultdialogs.cxx
Expand Up @@ -239,7 +239,7 @@ SwMMResultSaveDialog::SwMMResultSaveDialog()
SwView* pView = ::GetActiveView();
std::shared_ptr<SwMailMergeConfigItem> xConfigItem = pView->GetMailMergeConfigItem();
assert(xConfigItem);
sal_Int32 nCount = xConfigItem->GetMergedDocumentCount();;
sal_Int32 nCount = xConfigItem->GetMergedDocumentCount();
m_pToNF->SetMax(nCount);
m_pToNF->SetValue(nCount);

Expand Down Expand Up @@ -407,7 +407,7 @@ void SwMMResultPrintDialog::FillInPrinterSettings()
m_pPrinterLB->SelectEntry(xConfigItem->GetSelectedPrinter());
}

sal_Int32 count = xConfigItem->GetMergedDocumentCount();;
sal_Int32 count = xConfigItem->GetMergedDocumentCount();
m_pToNF->SetValue(count);
m_pToNF->SetMax(count);

Expand Down
2 changes: 1 addition & 1 deletion vcl/source/uitest/uiobject.cxx
Expand Up @@ -543,7 +543,7 @@ EditUIObject::~EditUIObject()
void EditUIObject::execute(const OUString& rAction,
const StringMap& rParameters)
{
bool bHandled = true;;
bool bHandled = true;
if (rAction == "SET")
{
if (rParameters.find("TEXT") != rParameters.end())
Expand Down
2 changes: 1 addition & 1 deletion xmlsecurity/source/pdfio/pdfverify.cxx
Expand Up @@ -42,7 +42,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(nArgc, pArgv)
return 1;
}
uno::Reference<lang::XMultiComponentFactory> xMultiComponentFactory = xComponentContext->getServiceManager();
uno::Reference<lang::XMultiServiceFactory> xMultiServiceFactory(xMultiComponentFactory, uno::UNO_QUERY);;
uno::Reference<lang::XMultiServiceFactory> xMultiServiceFactory(xMultiComponentFactory, uno::UNO_QUERY);
comphelper::setProcessServiceFactory(xMultiServiceFactory);
uno::Reference<xml::crypto::XSEInitializer> xSEInitializer;
try
Expand Down

0 comments on commit 3838475

Please sign in to comment.