summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-08 21:28:17 +0000
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-11-28 00:12:46 -0500
commitaafa50bad94941e452f4786151b8d1a6bd5a1d42 (patch)
treedd0d36cfed691145af69f0ef268ca58977563571 /include/svtools
parentd582d605b5a924b425fe647cf31bd9cfb7fd59a0 (diff)
Related: coverity#1371305 unnecessary inheritence
SvDataCopyStream used to do extra Load/Save things that are long gone, so there is no reason for the common base anymore Change-Id: Ib321021002adb480bb96298f199141dc3fe2ec2b Reviewed-on: https://gerrit.libreoffice.org/32851 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit eef56fc73b5c3ddc02ca7192532748e8d60c3ac6)
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/grfmgr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index c264ef8fea06..0c01023f4c9c 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -166,7 +166,7 @@ public:
}
};
-class SVT_DLLPUBLIC GraphicObject : public SvDataCopyStream
+class SVT_DLLPUBLIC GraphicObject
{
friend class GraphicManager;
friend class SdrGrafObj;
@@ -325,7 +325,7 @@ public:
GraphicObject( const Graphic& rGraphic );
GraphicObject( const GraphicObject& rCacheObj, const GraphicManager* pMgr = nullptr );
explicit GraphicObject( const OString& rUniqueID );
- virtual ~GraphicObject() override;
+ ~GraphicObject();
GraphicObject& operator=( const GraphicObject& rCacheObj );
bool operator==( const GraphicObject& rCacheObj ) const;