diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 15:04:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-29 09:23:46 +0200 |
commit | 8ae8e5d12eea6c3416674b4ce83a29fa3e6f99b4 (patch) | |
tree | c3adf8dd6815116fe1b8ca55cda999edaa3872b8 /include/tools | |
parent | cid#1371160 Missing move assignment operator (diff) | |
download | core-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.hxx | 5 |
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 & ); |