drop useless semicolons

Change-Id: I039f8ff491b42ea9c3936bf13922df8095434228
This commit is contained in:
David Tardon
2016-11-13 19:08:22 +01:00
parent a21d24ca72
commit 27a165cfc9
15 changed files with 40 additions and 40 deletions

View File

@@ -190,7 +190,7 @@ private:
SvxFont aDefFont; // faster than ever from the pool! SvxFont aDefFont; // faster than ever from the pool!
bool bHasEmptyAttribs; bool bHasEmptyAttribs;
CharAttribList( const CharAttribList& ) {;} CharAttribList( const CharAttribList& ) {}
public: public:
CharAttribList(); CharAttribList();

View File

@@ -30,7 +30,7 @@ namespace svl {
*/ */
struct StyleSheetPredicate { struct StyleSheetPredicate {
virtual bool Check(const SfxStyleSheetBase& styleSheet) = 0; virtual bool Check(const SfxStyleSheetBase& styleSheet) = 0;
virtual ~StyleSheetPredicate() {;} virtual ~StyleSheetPredicate() {}
}; };
/** Function object for cleanup-Strategy for IndexedSfxStyleSheets::Clear(). /** Function object for cleanup-Strategy for IndexedSfxStyleSheets::Clear().
@@ -38,7 +38,7 @@ struct StyleSheetPredicate {
*/ */
struct StyleSheetDisposer { struct StyleSheetDisposer {
virtual void Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) = 0; virtual void Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) = 0;
virtual ~StyleSheetDisposer() {;} virtual ~StyleSheetDisposer() {}
}; };
/** Function object to apply a method on all style sheets. /** Function object to apply a method on all style sheets.
@@ -46,7 +46,7 @@ struct StyleSheetDisposer {
*/ */
struct StyleSheetCallback { struct StyleSheetCallback {
virtual void DoIt(const SfxStyleSheetBase& styleSheet) = 0; 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. /** This class holds SfxStyleSheets and allows for access via an id and a name.

View File

@@ -52,7 +52,7 @@ protected:
public: public:
UnoControlTabPageContainerModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlTabPageContainerModel( *this ); }

View File

@@ -42,7 +42,7 @@ namespace toolkit
public: public:
UnoControlScrollBarModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlScrollBarModel( *this ); }

View File

@@ -86,7 +86,7 @@ protected:
public: public:
UnoControlEditModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlEditModel( *this ); }
@@ -194,7 +194,7 @@ protected:
public: public:
UnoControlFileControlModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlFileControlModel( *this ); }
@@ -268,7 +268,7 @@ protected:
public: public:
UnoControlButtonModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlButtonModel( *this ); }
@@ -421,7 +421,7 @@ protected:
public: public:
UnoControlRadioButtonModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlRadioButtonModel( *this ); }
@@ -506,7 +506,7 @@ protected:
public: public:
UnoControlCheckBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlCheckBoxModel( *this ); }
@@ -543,7 +543,7 @@ private:
public: public:
UnoCheckBoxControl(); UnoCheckBoxControl();
virtual ~UnoCheckBoxControl() override {;} virtual ~UnoCheckBoxControl() override {}
OUString GetComponentServiceName() 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; 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: public:
UnoControlFixedHyperlinkModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlFixedHyperlinkModel( *this ); }
@@ -668,7 +668,7 @@ protected:
public: public:
UnoControlFixedTextModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlFixedTextModel( *this ); }
@@ -739,7 +739,7 @@ protected:
public: public:
UnoControlGroupBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlGroupBoxModel( *this ); }
@@ -971,7 +971,7 @@ protected:
public: public:
UnoControlComboBoxModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlComboBoxModel( *this ); }
@@ -1105,7 +1105,7 @@ protected:
public: public:
UnoControlDateFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlDateFieldModel( *this ); }
@@ -1188,7 +1188,7 @@ protected:
public: public:
UnoControlTimeFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlTimeFieldModel( *this ); }
@@ -1269,7 +1269,7 @@ protected:
public: public:
UnoControlNumericFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlNumericFieldModel( *this ); }
@@ -1352,7 +1352,7 @@ protected:
public: public:
UnoControlCurrencyFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlCurrencyFieldModel( *this ); }
@@ -1435,7 +1435,7 @@ protected:
public: public:
UnoControlPatternFieldModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlPatternFieldModel( *this ); }
@@ -1502,7 +1502,7 @@ protected:
public: public:
UnoControlProgressBarModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlProgressBarModel( *this ); }
@@ -1565,7 +1565,7 @@ protected:
public: public:
UnoControlFixedLineModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); 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 ); } UnoControlModel* Clone() const override { return new UnoControlFixedLineModel( *this ); }

View File

@@ -180,14 +180,14 @@ protected:
class LwpFormulaOp : public LwpFormulaFunc class LwpFormulaOp : public LwpFormulaFunc
{ {
public: public:
explicit LwpFormulaOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){;} explicit LwpFormulaOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){}
virtual OUString ToString(LwpTableLayout* pCellsMap) override; virtual OUString ToString(LwpTableLayout* pCellsMap) override;
}; };
class LwpFormulaUnaryOp : public LwpFormulaFunc class LwpFormulaUnaryOp : public LwpFormulaFunc
{ {
public: public:
explicit LwpFormulaUnaryOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){;} explicit LwpFormulaUnaryOp(sal_uInt16 nTokenType):LwpFormulaFunc(nTokenType){}
virtual OUString ToString(LwpTableLayout* pCellsMap) override; virtual OUString ToString(LwpTableLayout* pCellsMap) override;
}; };

View File

@@ -616,7 +616,7 @@ namespace
struct HasFamilyPredicate : svl::StyleSheetPredicate struct HasFamilyPredicate : svl::StyleSheetPredicate
{ {
explicit HasFamilyPredicate(SfxStyleFamily eFamily) explicit HasFamilyPredicate(SfxStyleFamily eFamily)
: meFamily(eFamily) {;} : meFamily(eFamily) {}
bool Check(const SfxStyleSheetBase& sheet) override bool Check(const SfxStyleSheetBase& sheet) override
{ {
@@ -926,7 +926,7 @@ namespace
struct StyleSheetIsUserDefinedPredicate : svl::StyleSheetPredicate struct StyleSheetIsUserDefinedPredicate : svl::StyleSheetPredicate
{ {
StyleSheetIsUserDefinedPredicate() StyleSheetIsUserDefinedPredicate()
{;} {}
bool Check(const SfxStyleSheetBase& sheet) override bool Check(const SfxStyleSheetBase& sheet) override
{ {

View File

@@ -25,7 +25,7 @@ class MockedStyleSheet : public SfxStyleSheetBase
public: public:
MockedStyleSheet(const rtl::OUString& name, SfxStyleFamily fam = SfxStyleFamily::Char) MockedStyleSheet(const rtl::OUString& name, SfxStyleFamily fam = SfxStyleFamily::Char)
: SfxStyleSheetBase(name, nullptr, fam, 0) : SfxStyleSheetBase(name, nullptr, fam, 0)
{;} {}
}; };

View File

@@ -381,7 +381,7 @@ namespace {
struct DoesStyleMatchStyleSheetPredicate final : public svl::StyleSheetPredicate struct DoesStyleMatchStyleSheetPredicate final : public svl::StyleSheetPredicate
{ {
explicit DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it) explicit DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it)
: mIterator(it) {;} : mIterator(it) {}
bool bool
Check(const SfxStyleSheetBase& styleSheet) override Check(const SfxStyleSheetBase& styleSheet) override
@@ -701,7 +701,7 @@ namespace {
struct AddStyleSheetCallback : svl::StyleSheetCallback struct AddStyleSheetCallback : svl::StyleSheetCallback
{ {
explicit AddStyleSheetCallback(SfxStyleSheetBasePool *pool) explicit AddStyleSheetCallback(SfxStyleSheetBasePool *pool)
: mPool(pool) {;} : mPool(pool) {}
void DoIt(const SfxStyleSheetBase& ssheet) override void DoIt(const SfxStyleSheetBase& ssheet) override
{ {
@@ -804,7 +804,7 @@ namespace
struct StyleSheetDisposerFunctor final : public svl::StyleSheetDisposer struct StyleSheetDisposerFunctor final : public svl::StyleSheetDisposer
{ {
explicit StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool) explicit StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool)
: mPool(pool) {;} : mPool(pool) {}
void void
Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) override Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) override

View File

@@ -125,7 +125,7 @@ namespace accessibility
{ {
return OUString(); 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; } bool IsValid() const override { return true; }

View File

@@ -48,7 +48,7 @@ public:
struct MockedSortTab : public SwTOXSortTabBase { struct MockedSortTab : public SwTOXSortTabBase {
MockedSortTab() MockedSortTab()
: SwTOXSortTabBase(TOX_SORT_INDEX,nullptr,nullptr,nullptr) {;} : SwTOXSortTabBase(TOX_SORT_INDEX,nullptr,nullptr,nullptr) {}
virtual TextAndReading GetText_Impl() const override { virtual TextAndReading GetText_Impl() const override {
return TextAndReading(); return TextAndReading();
@@ -118,7 +118,7 @@ class ToxTextGeneratorWithMockedChapterField : public ToxTextGenerator {
public: public:
explicit ToxTextGeneratorWithMockedChapterField(SwForm &form) explicit ToxTextGeneratorWithMockedChapterField(SwForm &form)
: ToxTextGenerator(form, std::make_shared<MockedToxTabStopTokenHandler>()), : ToxTextGenerator(form, std::make_shared<MockedToxTabStopTokenHandler>()),
mChapterFieldType(), mChapterField(&mChapterFieldType) {;} mChapterFieldType(), mChapterField(&mChapterFieldType) {}
SwChapterField& SwChapterField&
GetChapterField() { GetChapterField() {

View File

@@ -100,10 +100,10 @@ ToxTextGenerator::ToxTextGenerator(const SwForm& toxForm,
: mToxForm(toxForm), : mToxForm(toxForm),
mLinkProcessor(new ToxLinkProcessor()), mLinkProcessor(new ToxLinkProcessor()),
mTabStopTokenHandler(tabStopHandler) mTabStopTokenHandler(tabStopHandler)
{;} {}
ToxTextGenerator::~ToxTextGenerator() ToxTextGenerator::~ToxTextGenerator()
{;} {}
OUString OUString
ToxTextGenerator::HandleChapterToken(const SwTOXSortTabBase& rBase, const SwFormToken& aToken, ToxTextGenerator::HandleChapterToken(const SwTOXSortTabBase& rBase, const SwFormToken& aToken,

View File

@@ -326,7 +326,7 @@ IMPL_LINK( SwOneExampleFrame, TimeoutHdl, Idle*, pTimer, void )
pSh->Overwrite(SW_RESSTR(STR_IDXEXAMPLE_IDXTXT_IMAGE1)); pSh->Overwrite(SW_RESSTR(STR_IDXEXAMPLE_IDXTXT_IMAGE1));
} }
else else
{;} {}
} }
while(pSh->Right(sal_uInt16(1), sal_uInt16(1), true)); while(pSh->Right(sal_uInt16(1), sal_uInt16(1), true));
} }

View File

@@ -47,7 +47,7 @@ protected:
public: public:
explicit UnoSpinButtonModel( const css::uno::Reference< css::uno::XComponentContext >& i_factory ); 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 ); } UnoControlModel* Clone() const override { return new UnoSpinButtonModel( *this ); }

View File

@@ -55,7 +55,7 @@ OUString convert_to_absolute_path(const OUString& path)
} }
IconThemeScanner::IconThemeScanner() IconThemeScanner::IconThemeScanner()
{;} {}
bool bool
IconThemeScanner::ScanDirectoryForIconThemes(const OUString& path) IconThemeScanner::ScanDirectoryForIconThemes(const OUString& path)
@@ -171,7 +171,7 @@ IconThemeScanner::GetStandardIconThemePath()
} }
IconThemeScanner::~IconThemeScanner() IconThemeScanner::~IconThemeScanner()
{;} {}
namespace namespace
{ {