summaryrefslogtreecommitdiffstats
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 15:04:15 +0200
committerNoel Grandin <noel@peralex.com>2016-08-29 09:23:46 +0200
commit8ae8e5d12eea6c3416674b4ce83a29fa3e6f99b4 (patch)
treec3adf8dd6815116fe1b8ca55cda999edaa3872b8 /include/tools
parentcid#1371160 Missing move assignment operator (diff)
downloadcore-8ae8e5d12eea6c3416674b4ce83a29fa3e6f99b4.tar.gz
core-8ae8e5d12eea6c3416674b4ce83a29fa3e6f99b4.zip
cid#1371171 Missing move assignment operator
Change-Id: I3150428f130823cdb1584e30c54f5591896214cf
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/globname.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx
index 42928a8ce112..76bcef149640 100644
--- a/include/tools/globname.hxx
+++ b/include/tools/globname.hxx
@@ -62,6 +62,10 @@ public:
pImp( rObj.pImp )
{
}
+ SvGlobalName( SvGlobalName && rObj ) :
+ pImp( std::move(rObj.pImp) )
+ {
+ }
SvGlobalName( sal_uInt32 n1, sal_uInt16 n2, sal_uInt16 n3,
sal_uInt8 b8, sal_uInt8 b9, sal_uInt8 b10, sal_uInt8 b11,
@@ -73,6 +77,7 @@ public:
SvGlobalName( const SvGUID & rId );
SvGlobalName & operator = ( const SvGlobalName & rObj );
+ SvGlobalName & operator = ( SvGlobalName && rObj );
~SvGlobalName();
TOOLS_DLLPUBLIC friend SvStream & operator >> ( SvStream &, SvGlobalName & );