diff options
Diffstat (limited to 'basic/source/comp/symtbl.cxx')
-rw-r--r-- | basic/source/comp/symtbl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index 9d4376b683fe..6caa3b2ed3d3 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -26,6 +26,7 @@ #include <stdio.h> #include <rtl/character.hxx> #include <basic/sberrors.hxx> +#include <utility> // All symbol names are laid down int the symbol-pool's stringpool, so that // all symbols are handled in the same case. On saving the code-image, the @@ -276,8 +277,8 @@ void SbiSymPool::CheckRefs() } } -SbiSymDef::SbiSymDef( const OUString& rName ) : - aName(rName), +SbiSymDef::SbiSymDef( OUString _aName ) : + aName(std::move(_aName)), eType(SbxEMPTY), pIn(nullptr), nLen(0), |