summaryrefslogtreecommitdiff
path: root/include/editeng/brushitem.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-11 12:34:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-11 17:03:11 +0000
commit5abd8d2eeeaecfcd18e2c61fe6d5a674a1826b69 (patch)
treefbd3e6d74037c7caf45ee799bc6a739ff0b72e12 /include/editeng/brushitem.hxx
parentf731296e0ce7c4a0be77fdcba0c2578147211dfa (diff)
coverity#1371263 Missing move assignment operator
Change-Id: Ifb4117afac4aa86893e674a581e1a7bb80925ee3
Diffstat (limited to 'include/editeng/brushitem.hxx')
-rw-r--r--include/editeng/brushitem.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index 45c5a3f5680d..83d44675b150 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -72,6 +72,7 @@ public:
SvxBrushItem( const OUString& rLink, const OUString& rFilter,
SvxGraphicPosition ePos, sal_uInt16 nWhich );
SvxBrushItem( const SvxBrushItem& );
+ SvxBrushItem( SvxBrushItem&& );
SvxBrushItem( const CntWallpaperItem&, sal_uInt16 nWhich );
virtual ~SvxBrushItem() override;
@@ -114,7 +115,8 @@ public:
void SetGraphicLink( const OUString& rNew );
void SetGraphicFilter( const OUString& rNew );
- SvxBrushItem& operator=( const SvxBrushItem& rItem);
+ SvxBrushItem& operator=(const SvxBrushItem& rItem);
+ SvxBrushItem& operator=(SvxBrushItem&& rItem);
static SvxGraphicPosition WallpaperStyle2GraphicPos( WallpaperStyle eStyle );
static WallpaperStyle GraphicPos2WallpaperStyle( SvxGraphicPosition ePos );