Kaydet (Commit) a7b18aaa authored tarafından Caolán McNamara's avatar Caolán McNamara

no point in these dtors being virtual

nothing inherits from these classes

Change-Id: Ic887ac8a046b8697e310e19b6e7fdf9efae8f074
üst 2b8b8740
......@@ -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 )
......
......@@ -139,7 +139,6 @@ public:
OUString const& rMethodName,
EntryType eType
);
virtual ~EntryDescriptor ();
ScriptDocument const& GetDocument() const { return m_aDocument; }
......
......@@ -84,9 +84,6 @@ ChartTypeParameter::ChartTypeParameter( sal_Int32 SubTypeIndex, bool HasXAxisWit
, mbRoundedEdge(false)
{
}
ChartTypeParameter::~ChartTypeParameter()
{
}
bool ChartTypeParameter::mapsToSameService( const ChartTypeParameter& rParameter ) const
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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 )
......
......@@ -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( )
{
......
......@@ -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.
*
......
......@@ -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;
......
......@@ -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
......
......@@ -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; }
......
......@@ -28,8 +28,6 @@
#include <rtl/character.hxx>
SvStringHashEntry::~SvStringHashEntry() { };
SvHashTable::SvHashTable( sal_uInt32 nMaxEntries )
{
nMax = nMaxEntries; // set max entries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment