desktop/source/app/sofficemain.cxx | 4 +- editeng/source/editeng/editdoc.hxx | 2 - include/svl/IndexedStyleSheets.hxx | 6 +-- include/toolkit/controls/tabpagecontainer.hxx | 2 - include/toolkit/controls/tkscrollbar.hxx | 2 - include/toolkit/controls/unocontrols.hxx | 34 ++++++++--------- lotuswordpro/source/filter/lwptblformula.hxx | 4 +- oox/source/drawingml/shape.cxx | 2 - package/source/zippackage/ZipPackageStream.cxx | 2 - sc/source/filter/xml/xmlcelli.cxx | 2 - sc/source/filter/xml/xmlconti.cxx | 2 - sc/source/ui/view/cellsh4.cxx | 4 +- sd/source/core/stlpool.cxx | 4 +- sd/source/ui/func/fuconstr.cxx | 2 - sd/source/ui/view/drviews9.cxx | 2 - svl/qa/unit/items/test_IndexedStyleSheets.cxx | 2 - svl/source/items/style.cxx | 6 +-- svx/source/accessibility/AccessibleEmptyEditSource.cxx | 2 - sw/qa/core/test_ToxTextGenerator.cxx | 4 +- sw/source/core/tox/ToxTextGenerator.cxx | 4 +- sw/source/ui/dbui/mmresultdialogs.cxx | 4 +- sw/source/uibase/utlui/unotools.cxx | 2 - toolkit/source/controls/tkspinbutton.cxx | 2 - vcl/source/app/IconThemeScanner.cxx | 4 +- vcl/source/uitest/uiobject.cxx | 2 - xmlsecurity/source/pdfio/pdfverify.cxx | 2 - 26 files changed, 54 insertions(+), 54 deletions(-)
New commits: commit 3838475c2fbeb3c84c2ee96a1845893b20d9495a Author: David Tardon <dtar...@redhat.com> Date: Sun Nov 13 19:13:36 2016 +0100 drop extra semicolons Change-Id: Ie6713d1bdf0010e5bc0bb70ca995c4dd36408673 diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 755da59..b0d155b 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -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; @@ -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; diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 159dc64..f027cd1 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -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); } } } diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 932a5af..2222f7b 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -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 diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 42780fd..abc6987 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -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 ); diff --git a/sc/source/filter/xml/xmlconti.cxx b/sc/source/filter/xml/xmlconti.cxx index 9ae456e..1fa59c6 100644 --- a/sc/source/filter/xml/xmlconti.cxx +++ b/sc/source/filter/xml/xmlconti.cxx @@ -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 ) diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx index 5932a7d..51ff1a6 100644 --- a/sc/source/ui/view/cellsh4.cxx +++ b/sc/source/ui/view/cellsh4.cxx @@ -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 ); @@ -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 ); diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx index 77ffeb1..2937fd2 100644 --- a/sd/source/ui/func/fuconstr.cxx +++ b/sd/source/ui/func/fuconstr.cxx @@ -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() diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx index 25899a9..fdea39d 100644 --- a/sd/source/ui/view/drviews9.cxx +++ b/sd/source/ui/view/drviews9.cxx @@ -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); diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index ec0b71b..509f6bb 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -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); @@ -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); diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index c1fc7c5..4fc2e85 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -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()) diff --git a/xmlsecurity/source/pdfio/pdfverify.cxx b/xmlsecurity/source/pdfio/pdfverify.cxx index 8e4ba42..b288067 100644 --- a/xmlsecurity/source/pdfio/pdfverify.cxx +++ b/xmlsecurity/source/pdfio/pdfverify.cxx @@ -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 commit 27a165cfc97f004ecf5d911a3adc3b5ced36f7fd Author: David Tardon <dtar...@redhat.com> Date: Sun Nov 13 19:08:22 2016 +0100 drop useless semicolons Change-Id: I039f8ff491b42ea9c3936bf13922df8095434228 diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 2013258..51b9ac2 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -190,7 +190,7 @@ private: SvxFont aDefFont; // faster than ever from the pool! bool bHasEmptyAttribs; - CharAttribList( const CharAttribList& ) {;} + CharAttribList( const CharAttribList& ) {} public: CharAttribList(); diff --git a/include/svl/IndexedStyleSheets.hxx b/include/svl/IndexedStyleSheets.hxx index 790a078..2513f9a 100644 --- a/include/svl/IndexedStyleSheets.hxx +++ b/include/svl/IndexedStyleSheets.hxx @@ -30,7 +30,7 @@ namespace svl { */ struct StyleSheetPredicate { virtual bool Check(const SfxStyleSheetBase& styleSheet) = 0; - virtual ~StyleSheetPredicate() {;} + virtual ~StyleSheetPredicate() {} }; /** Function object for cleanup-Strategy for IndexedSfxStyleSheets::Clear(). @@ -38,7 +38,7 @@ struct StyleSheetPredicate { */ struct StyleSheetDisposer { virtual void Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) = 0; - virtual ~StyleSheetDisposer() {;} + virtual ~StyleSheetDisposer() {} }; /** Function object to apply a method on all style sheets. @@ -46,7 +46,7 @@ struct StyleSheetDisposer { */ struct StyleSheetCallback { virtual void DoIt(const SfxStyleSheetBase& styleSheet) = 0; - virtual ~StyleSheetCallback() {;} + virtual ~StyleSheetCallback() {} }; /** This class holds SfxStyleSheets and allows for access via an id and a name. diff --git a/include/toolkit/controls/tabpagecontainer.hxx b/include/toolkit/controls/tabpagecontainer.hxx index bc9bc7e..a4b934c 100644 --- a/include/toolkit/controls/tabpagecontainer.hxx +++ b/include/toolkit/controls/tabpagecontainer.hxx @@ -52,7 +52,7 @@ protected: public: UnoControlTabPageContainerModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); - UnoControlTabPageContainerModel( const UnoControlTabPageContainerModel& rModel ) : UnoControlTabPageContainerModel_Base( rModel ),maContainerListeners( *this ) {;} + UnoControlTabPageContainerModel( const UnoControlTabPageContainerModel& rModel ) : UnoControlTabPageContainerModel_Base( rModel ),maContainerListeners( *this ) {} UnoControlModel* Clone() const override { return new UnoControlTabPageContainerModel( *this ); } diff --git a/include/toolkit/controls/tkscrollbar.hxx b/include/toolkit/controls/tkscrollbar.hxx index 7e1f3c6..e44a570 100644 --- a/include/toolkit/controls/tkscrollbar.hxx +++ b/include/toolkit/controls/tkscrollbar.hxx @@ -42,7 +42,7 @@ namespace toolkit public: UnoControlScrollBarModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); - UnoControlScrollBarModel( const UnoControlScrollBarModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlScrollBarModel( const UnoControlScrollBarModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlScrollBarModel( *this ); } diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx index 373e59c..4a8896b 100644 --- a/include/toolkit/controls/unocontrols.hxx +++ b/include/toolkit/controls/unocontrols.hxx @@ -86,7 +86,7 @@ protected: public: UnoControlEditModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlEditModel( const UnoControlEditModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlEditModel( const UnoControlEditModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlEditModel( *this ); } @@ -194,7 +194,7 @@ protected: public: UnoControlFileControlModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlFileControlModel( const UnoControlFileControlModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlFileControlModel( const UnoControlFileControlModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlFileControlModel( *this ); } @@ -268,7 +268,7 @@ protected: public: UnoControlButtonModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlButtonModel( const UnoControlButtonModel& rModel ) : GraphicControlModel( rModel ) {;} + UnoControlButtonModel( const UnoControlButtonModel& rModel ) : GraphicControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlButtonModel( *this ); } @@ -421,7 +421,7 @@ protected: public: UnoControlRadioButtonModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlRadioButtonModel( const UnoControlRadioButtonModel& rModel ) : GraphicControlModel( rModel ) {;} + UnoControlRadioButtonModel( const UnoControlRadioButtonModel& rModel ) : GraphicControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlRadioButtonModel( *this ); } @@ -506,7 +506,7 @@ protected: public: UnoControlCheckBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlCheckBoxModel( const UnoControlCheckBoxModel& rModel ) : GraphicControlModel( rModel ) {;} + UnoControlCheckBoxModel( const UnoControlCheckBoxModel& rModel ) : GraphicControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlCheckBoxModel( *this ); } @@ -543,7 +543,7 @@ private: public: UnoCheckBoxControl(); - virtual ~UnoCheckBoxControl() override {;} + virtual ~UnoCheckBoxControl() override {} OUString GetComponentServiceName() override; void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) override; @@ -594,7 +594,7 @@ protected: public: UnoControlFixedHyperlinkModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlFixedHyperlinkModel( const UnoControlFixedHyperlinkModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlFixedHyperlinkModel( const UnoControlFixedHyperlinkModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlFixedHyperlinkModel( *this ); } @@ -668,7 +668,7 @@ protected: public: UnoControlFixedTextModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlFixedTextModel( const UnoControlFixedTextModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlFixedTextModel( const UnoControlFixedTextModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlFixedTextModel( *this ); } @@ -739,7 +739,7 @@ protected: public: UnoControlGroupBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlGroupBoxModel( const UnoControlGroupBoxModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlGroupBoxModel( const UnoControlGroupBoxModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlGroupBoxModel( *this ); } @@ -971,7 +971,7 @@ protected: public: UnoControlComboBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlComboBoxModel( const UnoControlComboBoxModel& rModel ) : UnoControlListBoxModel( rModel ) {;} + UnoControlComboBoxModel( const UnoControlComboBoxModel& rModel ) : UnoControlListBoxModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlComboBoxModel( *this ); } @@ -1105,7 +1105,7 @@ protected: public: UnoControlDateFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlDateFieldModel( const UnoControlDateFieldModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlDateFieldModel( const UnoControlDateFieldModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlDateFieldModel( *this ); } @@ -1188,7 +1188,7 @@ protected: public: UnoControlTimeFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlTimeFieldModel( const UnoControlTimeFieldModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlTimeFieldModel( const UnoControlTimeFieldModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlTimeFieldModel( *this ); } @@ -1269,7 +1269,7 @@ protected: public: UnoControlNumericFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlNumericFieldModel( const UnoControlNumericFieldModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlNumericFieldModel( const UnoControlNumericFieldModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlNumericFieldModel( *this ); } @@ -1352,7 +1352,7 @@ protected: public: UnoControlCurrencyFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlCurrencyFieldModel( const UnoControlCurrencyFieldModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlCurrencyFieldModel( const UnoControlCurrencyFieldModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlCurrencyFieldModel( *this ); } @@ -1435,7 +1435,7 @@ protected: public: UnoControlPatternFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlPatternFieldModel( const UnoControlPatternFieldModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlPatternFieldModel( const UnoControlPatternFieldModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlPatternFieldModel( *this ); } @@ -1502,7 +1502,7 @@ protected: public: UnoControlProgressBarModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlProgressBarModel( const UnoControlProgressBarModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlProgressBarModel( const UnoControlProgressBarModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlProgressBarModel( *this ); } @@ -1565,7 +1565,7 @@ protected: public: UnoControlFixedLineModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - UnoControlFixedLineModel( const UnoControlFixedLineModel& rModel ) : UnoControlModel( rModel ) {;} + UnoControlFixedLineModel( const UnoControlFixedLineModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoControlFixedLineModel( *this ); } diff --git a/lotuswordpro/source/filter/lwptblformula.hxx b/lotuswordpro/source/filter/lwptblformula.hxx index 0f9873e..ab0bbdc 100644 --- a/lotuswordpro/source/filter/lwptblformula.hxx +++ b/lotuswordpro/source/filter/lwptblformula.hxx @@ -180,14 +180,14 @@ protected: class LwpFormulaOp : public LwpFormulaFunc { public: - explicit LwpFormulaOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){;} + explicit LwpFormulaOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){} virtual OUString ToString(LwpTableLayout* pCellsMap) override; }; class LwpFormulaUnaryOp : public LwpFormulaFunc { public: - explicit LwpFormulaUnaryOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){;} + explicit LwpFormulaUnaryOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){} virtual OUString ToString(LwpTableLayout* pCellsMap) override; }; diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 84b2db98..a71f529 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -616,7 +616,7 @@ namespace struct HasFamilyPredicate : svl::StyleSheetPredicate { explicit HasFamilyPredicate(SfxStyleFamily eFamily) - : meFamily(eFamily) {;} + : meFamily(eFamily) {} bool Check(const SfxStyleSheetBase& sheet) override { @@ -926,7 +926,7 @@ namespace struct StyleSheetIsUserDefinedPredicate : svl::StyleSheetPredicate { StyleSheetIsUserDefinedPredicate() - {;} + {} bool Check(const SfxStyleSheetBase& sheet) override { diff --git a/svl/qa/unit/items/test_IndexedStyleSheets.cxx b/svl/qa/unit/items/test_IndexedStyleSheets.cxx index bb06e05..f645733 100644 --- a/svl/qa/unit/items/test_IndexedStyleSheets.cxx +++ b/svl/qa/unit/items/test_IndexedStyleSheets.cxx @@ -25,7 +25,7 @@ class MockedStyleSheet : public SfxStyleSheetBase public: MockedStyleSheet(const rtl::OUString& name, SfxStyleFamily fam = SfxStyleFamily::Char) : SfxStyleSheetBase(name, nullptr, fam, 0) - {;} + {} }; diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index aa9ea3a..b4e8fe5 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -381,7 +381,7 @@ namespace { struct DoesStyleMatchStyleSheetPredicate final : public svl::StyleSheetPredicate { explicit DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it) - : mIterator(it) {;} + : mIterator(it) {} bool Check(const SfxStyleSheetBase& styleSheet) override @@ -701,7 +701,7 @@ namespace { struct AddStyleSheetCallback : svl::StyleSheetCallback { explicit AddStyleSheetCallback(SfxStyleSheetBasePool *pool) - : mPool(pool) {;} + : mPool(pool) {} void DoIt(const SfxStyleSheetBase& ssheet) override { @@ -804,7 +804,7 @@ namespace struct StyleSheetDisposerFunctor final : public svl::StyleSheetDisposer { explicit StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool) - : mPool(pool) {;} + : mPool(pool) {} void Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) override diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 15fd560..4541572 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -125,7 +125,7 @@ namespace accessibility { return OUString(); } - void FieldClicked( const SvxFieldItem&, sal_Int32, sal_Int32 ) override {;} + void FieldClicked( const SvxFieldItem&, sal_Int32, sal_Int32 ) override {} bool IsValid() const override { return true; } diff --git a/sw/qa/core/test_ToxTextGenerator.cxx b/sw/qa/core/test_ToxTextGenerator.cxx index 983f2ec..2a41c98 100644 --- a/sw/qa/core/test_ToxTextGenerator.cxx +++ b/sw/qa/core/test_ToxTextGenerator.cxx @@ -48,7 +48,7 @@ public: struct MockedSortTab : public SwTOXSortTabBase { MockedSortTab() - : SwTOXSortTabBase(TOX_SORT_INDEX,nullptr,nullptr,nullptr) {;} + : SwTOXSortTabBase(TOX_SORT_INDEX,nullptr,nullptr,nullptr) {} virtual TextAndReading GetText_Impl() const override { return TextAndReading(); @@ -118,7 +118,7 @@ class ToxTextGeneratorWithMockedChapterField : public ToxTextGenerator { public: explicit ToxTextGeneratorWithMockedChapterField(SwForm &form) : ToxTextGenerator(form, std::make_shared<MockedToxTabStopTokenHandler>()), - mChapterFieldType(), mChapterField(&mChapterFieldType) {;} + mChapterFieldType(), mChapterField(&mChapterFieldType) {} SwChapterField& GetChapterField() { diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx index 1644338..9d6a887 100644 --- a/sw/source/core/tox/ToxTextGenerator.cxx +++ b/sw/source/core/tox/ToxTextGenerator.cxx @@ -100,10 +100,10 @@ ToxTextGenerator::ToxTextGenerator(const SwForm& toxForm, : mToxForm(toxForm), mLinkProcessor(new ToxLinkProcessor()), mTabStopTokenHandler(tabStopHandler) -{;} +{} ToxTextGenerator::~ToxTextGenerator() -{;} +{} OUString ToxTextGenerator::HandleChapterToken(const SwTOXSortTabBase& rBase, const SwFormToken& aToken, diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx index 2d6a10c..636039a 100644 --- a/sw/source/uibase/utlui/unotools.cxx +++ b/sw/source/uibase/utlui/unotools.cxx @@ -326,7 +326,7 @@ IMPL_LINK( SwOneExampleFrame, TimeoutHdl, Idle*, pTimer, void ) pSh->Overwrite(SW_RESSTR(STR_IDXEXAMPLE_IDXTXT_IMAGE1)); } else - {;} + {} } while(pSh->Right(sal_uInt16(1), sal_uInt16(1), true)); } diff --git a/toolkit/source/controls/tkspinbutton.cxx b/toolkit/source/controls/tkspinbutton.cxx index 4726396..d6905102 100644 --- a/toolkit/source/controls/tkspinbutton.cxx +++ b/toolkit/source/controls/tkspinbutton.cxx @@ -47,7 +47,7 @@ protected: public: explicit UnoSpinButtonModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); - UnoSpinButtonModel( const UnoSpinButtonModel& rModel ) : UnoControlModel( rModel ) {;} + UnoSpinButtonModel( const UnoSpinButtonModel& rModel ) : UnoControlModel( rModel ) {} UnoControlModel* Clone() const override { return new UnoSpinButtonModel( *this ); } diff --git a/vcl/source/app/IconThemeScanner.cxx b/vcl/source/app/IconThemeScanner.cxx index 29f1a91..6eca72f 100644 --- a/vcl/source/app/IconThemeScanner.cxx +++ b/vcl/source/app/IconThemeScanner.cxx @@ -55,7 +55,7 @@ OUString convert_to_absolute_path(const OUString& path) } IconThemeScanner::IconThemeScanner() -{;} +{} bool IconThemeScanner::ScanDirectoryForIconThemes(const OUString& path) @@ -171,7 +171,7 @@ IconThemeScanner::GetStandardIconThemePath() } IconThemeScanner::~IconThemeScanner() -{;} +{} namespace { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits