diff options
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index 6de4aace5c99..a79ac984222e 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -25,6 +25,7 @@ #include <tools/datetime.hxx> #include <rtl/tencinfo.h> #include <sal/log.hxx> +#include <utility> #define STREAM_BUFFER_SIZE 2048 @@ -102,7 +103,7 @@ public: const SfxOleTextEncoding& rTextEnc ); explicit SfxOleStringPropertyBase( sal_Int32 nPropId, sal_Int32 nPropType, - const SfxOleTextEncoding& rTextEnc, const OUString& rValue ); + const SfxOleTextEncoding& rTextEnc, OUString aValue ); explicit SfxOleStringPropertyBase( sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc ); @@ -442,10 +443,10 @@ SfxOleStringPropertyBase::SfxOleStringPropertyBase( } SfxOleStringPropertyBase::SfxOleStringPropertyBase( - sal_Int32 nPropId, sal_Int32 nPropType, const SfxOleTextEncoding& rTextEnc, const OUString& rValue ) : + sal_Int32 nPropId, sal_Int32 nPropType, const SfxOleTextEncoding& rTextEnc, OUString aValue ) : SfxOlePropertyBase( nPropId, nPropType ), SfxOleStringHelper( rTextEnc ), - maValue( rValue ) + maValue(std::move( aValue )) { } |