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!
bool bHasEmptyAttribs;
CharAttribList( const CharAttribList& ) {;}
CharAttribList( const CharAttribList& ) {}
public:
CharAttribList();

View File

@@ -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.

View File

@@ -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 ); }

View File

@@ -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 ); }

View File

@@ -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 ); }

View File

@@ -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;
};

View File

@@ -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
{

View File

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

View File

@@ -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

View File

@@ -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; }

View File

@@ -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() {

View File

@@ -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,

View File

@@ -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));
}

View File

@@ -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 ); }

View File

@@ -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
{