diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-30 14:26:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-30 19:26:41 +0100 |
commit | a7b18aaa46c225d3546ad52aab0c460092c8edb0 (patch) | |
tree | bcb71a8b13fc0a6d8ea581556a0bd8f21c0f1b3d | |
parent | 2b8b8740f211a649a358fbe2406cae12e9621a77 (diff) |
no point in these dtors being virtual
nothing inherits from these classes
Change-Id: Ic887ac8a046b8697e310e19b6e7fdf9efae8f074
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 5 | ||||
-rw-r--r-- | basctl/source/inc/bastype2.hxx | 1 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 3 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.hxx | 1 | ||||
-rw-r--r-- | chart2/source/inc/ObjectIdentifier.hxx | 1 | ||||
-rw-r--r-- | chart2/source/tools/ObjectIdentifier.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/axes/ScaleAutomatism.cxx | 3 | ||||
-rw-r--r-- | chart2/source/view/inc/ScaleAutomatism.hxx | 1 | ||||
-rw-r--r-- | framework/source/accelerators/acceleratorcache.cxx | 6 | ||||
-rw-r--r-- | framework/source/inc/accelerators/acceleratorcache.hxx | 3 | ||||
-rw-r--r-- | idl/inc/hash.hxx | 2 | ||||
-rw-r--r-- | idl/source/cmptools/hash.cxx | 2 |
12 files changed, 1 insertions, 31 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 3fcaae459233..af5ab344d9dc 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -157,12 +157,7 @@ EntryDescriptor::EntryDescriptor ( OSL_ENSURE( m_aDocument.isValid(), "EntryDescriptor::EntryDescriptor: invalid document!" ); } -EntryDescriptor::~EntryDescriptor() -{ } - // TreeListBox - - TreeListBox::TreeListBox (vcl::Window* pParent, ResId const& rRes) : SvTreeListBox( pParent, IDEResId( sal::static_int_cast<sal_uInt16>( rRes.GetId() ) ) ) , m_aNotifier( *this ) diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx index d8f17d8109a6..fd092f24b82a 100644 --- a/basctl/source/inc/bastype2.hxx +++ b/basctl/source/inc/bastype2.hxx @@ -139,7 +139,6 @@ public: OUString const& rMethodName, EntryType eType ); - virtual ~EntryDescriptor (); ScriptDocument const& GetDocument() const { return m_aDocument; } diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 30599888c6f3..972e52db5eb7 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -84,9 +84,6 @@ ChartTypeParameter::ChartTypeParameter( sal_Int32 SubTypeIndex, bool HasXAxisWit , mbRoundedEdge(false) { } -ChartTypeParameter::~ChartTypeParameter() -{ -} bool ChartTypeParameter::mapsToSameService( const ChartTypeParameter& rParameter ) const { diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx index b74694078153..984fb67d19c5 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx @@ -60,7 +60,6 @@ public: , bool _bSymbols = true, bool _bLines = true , css::chart2::CurveStyle eCurveStyle = css::chart2::CurveStyle_LINES ); ChartTypeParameter(); - virtual ~ChartTypeParameter(); bool mapsToSameService( const ChartTypeParameter& rParameter ) const; bool mapsToSimilarService( const ChartTypeParameter& rParameter, sal_Int32 nTheHigherTheLess ) const; diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx index a38cdc5e6847..067ff960e2e4 100644 --- a/chart2/source/inc/ObjectIdentifier.hxx +++ b/chart2/source/inc/ObjectIdentifier.hxx @@ -93,7 +93,6 @@ public: ObjectIdentifier( const OUString& rObjectCID ); ObjectIdentifier( const css::uno::Reference< css::drawing::XShape >& rxShape ); ObjectIdentifier( const css::uno::Any& rAny ); - virtual ~ObjectIdentifier(); ObjectIdentifier( const ObjectIdentifier& rOID ); bool operator==( const ObjectIdentifier& rOID ) const; diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index 4a653531e5db..9af4f05b171f 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -271,10 +271,6 @@ ObjectIdentifier::ObjectIdentifier( const Any& rAny ) } } -ObjectIdentifier::~ObjectIdentifier() -{ -} - ObjectIdentifier::ObjectIdentifier( const ObjectIdentifier& rOID ) :m_aObjectCID( rOID.m_aObjectCID ) ,m_xAdditionalShape( rOID.m_xAdditionalShape ) diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx index 9bc8df73e278..022025ba8751 100644 --- a/chart2/source/view/axes/ScaleAutomatism.cxx +++ b/chart2/source/view/axes/ScaleAutomatism.cxx @@ -105,9 +105,6 @@ ScaleAutomatism::ScaleAutomatism( const ScaleData& rSourceScale, const Date& rNu if( m_aSourceScale.Origin >>= fExplicitOrigin ) expandValueRange( fExplicitOrigin, fExplicitOrigin); } -ScaleAutomatism::~ScaleAutomatism() -{ -} void ScaleAutomatism::resetValueRange( ) { diff --git a/chart2/source/view/inc/ScaleAutomatism.hxx b/chart2/source/view/inc/ScaleAutomatism.hxx index 221612ab1aaa..81535bd6d717 100644 --- a/chart2/source/view/inc/ScaleAutomatism.hxx +++ b/chart2/source/view/inc/ScaleAutomatism.hxx @@ -42,7 +42,6 @@ class ScaleAutomatism public: explicit ScaleAutomatism( const css::chart2::ScaleData& rSourceScale, const Date& rNullDate ); - virtual ~ScaleAutomatism(); /** Expands own value range with the passed minimum and maximum. * diff --git a/framework/source/accelerators/acceleratorcache.cxx b/framework/source/accelerators/acceleratorcache.cxx index ca92b8f5cf37..ec5d35323953 100644 --- a/framework/source/accelerators/acceleratorcache.cxx +++ b/framework/source/accelerators/acceleratorcache.cxx @@ -40,12 +40,6 @@ AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy) m_lKey2Commands = rCopy.m_lKey2Commands; } -AcceleratorCache::~AcceleratorCache() -{ - // Don't save anything automatically here. - // The user has to do that explicitly! -} - void AcceleratorCache::takeOver(const AcceleratorCache& rCopy) { SolarMutexGuard g; diff --git a/framework/source/inc/accelerators/acceleratorcache.hxx b/framework/source/inc/accelerators/acceleratorcache.hxx index c5332b1ce436..c52da8462f0d 100644 --- a/framework/source/inc/accelerators/acceleratorcache.hxx +++ b/framework/source/inc/accelerators/acceleratorcache.hxx @@ -85,9 +85,6 @@ class AcceleratorCache */ AcceleratorCache(const AcceleratorCache& rCopy); - /** @short does nothing real. */ - virtual ~AcceleratorCache(); - /** @short write changes back to the original container. @param rCopy diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index 458a22d29589..c0dd517190ce 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -60,13 +60,13 @@ public: , bHasId(false) { } + SvStringHashEntry( const OString& rName ) : aName(rName) , nValue(0) , bHasId(true) { } - virtual ~SvStringHashEntry(); const OString& GetName() const { return aName; } bool HasId() const { return bHasId; } diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index a03f4cd60316..76976b4bf3d9 100644 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -28,8 +28,6 @@ #include <rtl/character.hxx> -SvStringHashEntry::~SvStringHashEntry() { }; - SvHashTable::SvHashTable( sal_uInt32 nMaxEntries ) { nMax = nMaxEntries; // set max entries |