summaryrefslogtreecommitdiff
path: root/svl/source/inc/poolio.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/inc/poolio.hxx')
-rw-r--r--svl/source/inc/poolio.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 1080672b09ff..cc406f31e0a0 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -26,6 +26,7 @@
#include <tools/debug.hxx>
#include <memory>
#include <o3tl/sorted_vector.hxx>
+#include <utility>
class SfxPoolItem;
class SfxItemPoolUser;
@@ -162,9 +163,9 @@ struct SfxItemPool_Impl
sal_uInt16 mnEnd;
MapUnit eDefMetric;
- SfxItemPool_Impl( SfxItemPool* pMaster, const OUString& rName, sal_uInt16 nStart, sal_uInt16 nEnd )
+ SfxItemPool_Impl( SfxItemPool* pMaster, OUString _aName, sal_uInt16 nStart, sal_uInt16 nEnd )
: maPoolItemArrays(nEnd - nStart + 1)
- , aName(rName)
+ , aName(std::move(_aName))
, maPoolDefaults(nEnd - nStart + 1)
, mpStaticDefaults(nullptr)
, mpMaster(pMaster)