summaryrefslogtreecommitdiff
path: root/l10ntools/source/treemerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/treemerge.cxx')
-rw-r--r--l10ntools/source/treemerge.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index 8e577f3dadbc..ff48aeda6b74 100644
--- a/l10ntools/source/treemerge.cxx
+++ b/l10ntools/source/treemerge.cxx
@@ -20,6 +20,7 @@
#include <common.hxx>
#include <po.hxx>
#include <treemerge.hxx>
+#include <utility>
namespace
@@ -197,9 +198,9 @@ namespace
}
TreeParser::TreeParser(
- const OString& rInputFile, const OString& rLang )
+ const OString& rInputFile, OString _sLang )
: m_pSource( nullptr )
- , m_sLang( rLang )
+ , m_sLang(std::move( _sLang ))
, m_bIsInitialized( false )
{
m_pSource = xmlParseFile( rInputFile.getStr() );