diff options
Diffstat (limited to 'sax/source/fastparser/legacyfastparser.cxx')
-rw-r--r-- | sax/source/fastparser/legacyfastparser.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx index d32b12d8a5f9..e4c425bd07d3 100644 --- a/sax/source/fastparser/legacyfastparser.cxx +++ b/sax/source/fastparser/legacyfastparser.cxx @@ -27,6 +27,7 @@ #include <comphelper/processfactory.hxx> #include <rtl/ref.hxx> #include <memory> +#include <utility> #include <vector> using namespace ::cppu; @@ -46,7 +47,7 @@ private: OUString m_aPrefix; OUString m_aNamespaceURI; - NamespaceDefine( const OUString& rPrefix, const OUString& rNamespaceURI ) : m_aPrefix( rPrefix ), m_aNamespaceURI( rNamespaceURI ) {} + NamespaceDefine( OUString aPrefix, OUString aNamespaceURI ) : m_aPrefix(std::move( aPrefix )), m_aNamespaceURI(std::move( aNamespaceURI )) {} }; std::vector< std::unique_ptr< NamespaceDefine > > m_aNamespaceDefines; |