summaryrefslogtreecommitdiff
path: root/vcl/source/app/unohelp2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/unohelp2.cxx')
-rw-r--r--vcl/source/app/unohelp2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/unohelp2.cxx b/vcl/source/app/unohelp2.cxx
index 47cfab4bcf9d..5bdb6c8388e5 100644
--- a/vcl/source/app/unohelp2.cxx
+++ b/vcl/source/app/unohelp2.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/log.hxx>
+#include <utility>
#include <vcl/unohelp2.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
@@ -34,7 +35,7 @@ using namespace ::com::sun::star;
namespace vcl::unohelper {
- TextDataObject::TextDataObject( const OUString& rText ) : maText( rText )
+ TextDataObject::TextDataObject( OUString aText ) : maText(std::move( aText ))
{
}