Kaydet (Commit) 5145f60c authored tarafından Noel Grandin's avatar Noel Grandin

loplugin: unnecessary destructor: basctl..codemaker

Change-Id: Iadcfa9bc4fe9efb8d24d6d6afaf2b9b3def0bc3c
Reviewed-on: https://gerrit.libreoffice.org/33452Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 79497f45
......@@ -540,7 +540,6 @@ private:
public:
UnoTypeCodeCompletetor( const std::vector< OUString >& aVect, const OUString& sVarType );
~UnoTypeCodeCompletetor(){}
std::vector< OUString > GetXIdlClassMethods() const;
std::vector< OUString > GetXIdlClassFields() const;
......
......@@ -102,7 +102,6 @@ public:
: m_aDocument(rDocument)
{
}
~LibUserData() {};
const ScriptDocument& GetDocument() const { return m_aDocument; }
};
......
......@@ -71,10 +71,6 @@ namespace basegfx
mfAtan2 = atan2(maEnd.getY() - maStart.getY(), maEnd.getX() - maStart.getX());
}
~EdgeEntry()
{
}
bool operator<(const EdgeEntry& rComp) const
{
if(::basegfx::fTools::equal(maStart.getY(), rComp.maStart.getY()))
......
......@@ -87,10 +87,6 @@ public:
{
}
~CoordinateDataArray3D()
{
}
::basegfx::B3DVector getNormal() const
{
::basegfx::B3DVector aRetval;
......@@ -285,10 +281,6 @@ public:
}
}
~BColorArray()
{
}
bool operator==(const BColorArray& rCandidate) const
{
return (maVector == rCandidate.maVector);
......@@ -442,10 +434,6 @@ public:
}
}
~NormalsArray3D()
{
}
bool operator==(const NormalsArray3D& rCandidate) const
{
return (maVector == rCandidate.maVector);
......@@ -609,10 +597,6 @@ public:
}
}
~TextureCoordinate2D()
{
}
bool operator==(const TextureCoordinate2D& rCandidate) const
{
return (maVector == rCandidate.maVector);
......
......@@ -111,14 +111,8 @@ struct BasicManagerImpl
BasicManagerImpl()
{}
~BasicManagerImpl();
};
BasicManagerImpl::~BasicManagerImpl()
{
}
// BasMgrContainerListenerImpl
......
......@@ -58,7 +58,6 @@ public:
, m_ePropertyType( ePropertyType )
{
}
virtual ~WrappedSeriesOrDiagramProperty() override {};
bool detectInnerValue( PROPERTYTYPE& rValue, bool& rHasAmbiguousValue ) const
{
......
......@@ -176,7 +176,6 @@ public:
, tSeriesOrDiagramPropertyType ePropertyType )
: WrappedSeriesOrDiagramProperty< PROPERTYTYPE >(rName,rDefaulValue,spChart2ModelContact,ePropertyType)
{}
virtual ~WrappedStatisticProperty() {};
protected:
static uno::Reference< beans::XPropertySet > getOrCreateErrorBarProperties( const Reference< beans::XPropertySet >& xSeriesPropertySet )
......
......@@ -52,8 +52,6 @@ public:
explicit WeakListenerAdapter( const css::uno::WeakReference< Listener > & xListener ) :
m_xListener( xListener )
{}
virtual ~WeakListenerAdapter()
{}
protected:
// ____ XEventListener (base of all listeners) ____
......
......@@ -28,8 +28,6 @@ public:
CppuOptions()
: Options() {}
virtual ~CppuOptions() override {}
bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) override;
......
......@@ -28,8 +28,6 @@ public:
JavaOptions()
: Options() {}
virtual ~JavaOptions() override {}
bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) override;
......
......@@ -80,9 +80,6 @@ namespace basegfx
: B3DTuple(rTuple)
{}
~B3DPoint()
{}
/** *=operator to allow usage from B3DPoint, too
*/
B3DPoint& operator*=( const B3DPoint& rPnt )
......
......@@ -76,9 +76,6 @@ namespace basegfx
mnY( rTup.mnY )
{}
~B2I64Tuple()
{}
/// Get X-Coordinate of 2D Tuple
sal_Int64 getX() const
{
......
......@@ -80,9 +80,6 @@ namespace basegfx
: B3DTuple(rTuple)
{}
~B3DVector()
{}
/** *=operator to allow usage from B3DVector, too
*/
B3DVector& operator*=( const B3DVector& rPnt )
......
......@@ -82,7 +82,6 @@ private:
public:
CodeCompleteDataCache(){}
~CodeCompleteDataCache(){}
friend BASIC_DLLPUBLIC std::ostream& operator<< (std::ostream& aStream, const CodeCompleteDataCache& aCache);
......
......@@ -55,7 +55,6 @@ struct SbxParamInfo
sal_uInt32 nUserData; // IDs etc.
SbxParamInfo( const OUString& s, SbxDataType t, SbxFlagBits n )
: aName( s ), eType( t ), nFlags( n ), nUserData( 0 ) {}
~SbxParamInfo() {}
};
typedef std::vector<std::unique_ptr<SbxParamInfo>> SbxParams;
......
......@@ -79,8 +79,6 @@ class ExceptionTree {
public:
ExceptionTree(): m_root("com.sun.star.uno.Exception") {}
~ExceptionTree() {}
/**
Builds the exception hierarchy, by adding one exception type at a time.
......
......@@ -38,8 +38,6 @@ class GeneratedTypeSet {
public:
GeneratedTypeSet() {}
~GeneratedTypeSet() {}
/**
Add a type to the set of generated types.
......
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