summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-13 13:48:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-13 14:20:23 +0000
commit467e32348faf71ed1aa4039910e7a6ba6dd2eb8c (patch)
treeffd77e8b431870ce8fc018c937fe359e9bbc8cfe
parent6bd96eda065f819e1b147e9a94b337b6cc21e626 (diff)
coverity#1371198 Missing move assignment operator
Change-Id: I89a718a245ea36f33c47f8044280bf7e46c0f66a
-rw-r--r--include/svtools/grfmgr.hxx1
-rw-r--r--svtools/source/graphic/grfattr.cxx7
2 files changed, 0 insertions, 8 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index abd8b2928d0a..18af8206f31c 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -102,7 +102,6 @@ private:
public:
GraphicAttr();
- ~GraphicAttr();
bool operator==( const GraphicAttr& rAttr ) const;
bool operator!=( const GraphicAttr& rAttr ) const { return !( *this == rAttr ); }
diff --git a/svtools/source/graphic/grfattr.cxx b/svtools/source/graphic/grfattr.cxx
index 03d49086856e..6b5cd6c95068 100644
--- a/svtools/source/graphic/grfattr.cxx
+++ b/svtools/source/graphic/grfattr.cxx
@@ -41,12 +41,6 @@ GraphicAttr::GraphicAttr() :
{
}
-
-GraphicAttr::~GraphicAttr()
-{
-}
-
-
bool GraphicAttr::operator==( const GraphicAttr& rAttr ) const
{
return( ( mfGamma == rAttr.mfGamma ) &&
@@ -66,5 +60,4 @@ bool GraphicAttr::operator==( const GraphicAttr& rAttr ) const
( meDrawMode == rAttr.meDrawMode ) );
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */