diff options
Diffstat (limited to 'configmgr/source/xcuparser.hxx')
-rw-r--r-- | configmgr/source/xcuparser.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configmgr/source/xcuparser.hxx b/configmgr/source/xcuparser.hxx index cf6fb3e91b2d..e50b7b5a0fc8 100644 --- a/configmgr/source/xcuparser.hxx +++ b/configmgr/source/xcuparser.hxx @@ -27,6 +27,7 @@ #include <rtl/ref.hxx> #include <rtl/ustring.hxx> +#include <utility> #include <xmlreader/xmlreader.hxx> #include "additions.hxx" @@ -124,13 +125,13 @@ private: private: explicit State(bool thePop): ignore(true), insert(false), pop(thePop) {} - explicit State(rtl::Reference< Node > const & theNode): - node(theNode), ignore(false), insert(false), pop(true) + explicit State(rtl::Reference< Node > theNode): + node(std::move(theNode)), ignore(false), insert(false), pop(true) {} State( - rtl::Reference< Node > const & theNode, OUString const & theName): - node(theNode), name(theName), ignore(false), insert(true), pop(true) + rtl::Reference< Node > theNode, OUString theName): + node(std::move(theNode)), name(std::move(theName)), ignore(false), insert(true), pop(true) {} }; |