summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-13 19:08:22 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-13 19:08:22 +0100
commit27a165cfc97f004ecf5d911a3adc3b5ced36f7fd (patch)
tree6244eb05a99e167a141b72c2cfa25efd7609f504
parenta21d24ca72b792c9fdd74894ebf773c72fc2b704 (diff)
drop useless semicolons
Change-Id: I039f8ff491b42ea9c3936bf13922df8095434228
-rw-r--r--editeng/source/editeng/editdoc.hxx2
-rw-r--r--include/svl/IndexedStyleSheets.hxx6
-rw-r--r--include/toolkit/controls/tabpagecontainer.hxx2
-rw-r--r--include/toolkit/controls/tkscrollbar.hxx2
-rw-r--r--include/toolkit/controls/unocontrols.hxx34
-rw-r--r--lotuswordpro/source/filter/lwptblformula.hxx4
-rw-r--r--sd/source/core/stlpool.cxx4
-rw-r--r--svl/qa/unit/items/test_IndexedStyleSheets.cxx2
-rw-r--r--svl/source/items/style.cxx6
-rw-r--r--svx/source/accessibility/AccessibleEmptyEditSource.cxx2
-rw-r--r--sw/qa/core/test_ToxTextGenerator.cxx4
-rw-r--r--sw/source/core/tox/ToxTextGenerator.cxx4
-rw-r--r--sw/source/uibase/utlui/unotools.cxx2
-rw-r--r--toolkit/source/controls/tkspinbutton.cxx2
-rw-r--r--vcl/source/app/IconThemeScanner.cxx4
15 files changed, 40 insertions, 40 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 201325866c75..51b9ac293194 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 790a07821b79..2513f9aaa6d3 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 bc9bc7eaa5b7..a4b934c6913a 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 7e1f3c6b0cba..e44a57059f3a 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 373e59c80ee2..4a8896b44ec6 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 0f9873e8a92d..ab0bbdcf323c 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 84b2db9865f1..a71f529bc7a9 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 bb06e05cbfc5..f645733d6aea 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 aa9ea3a79002..b4e8fe5b5b25 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 15fd560dce59..454157265f12 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 983f2ecfa8f4..2a41c9844201 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 16443387aed6..9d6a887ce81f 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 2d6a10c6eb10..636039a3c0c2 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 47263967c2c9..d69051025218 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 29f1a9142f4e..6eca72f41f86 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
{