summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfparse/pdfparse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfparse.cxx')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index bbdb51c5ae23..7cef299e8eaa 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -40,6 +40,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
+#include <utility>
// disable warnings again because someone along the line has enabled them
// (we have included boost headers, what did you expect?)
@@ -88,8 +89,8 @@ class PDFGrammar : public grammar< PDFGrammar<iteratorT> >
{
public:
- explicit PDFGrammar( const iteratorT& first )
- : m_fDouble( 0.0 ), m_aGlobalBegin( first ) {}
+ explicit PDFGrammar( iteratorT first )
+ : m_fDouble( 0.0 ), m_aGlobalBegin(std::move( first )) {}
~PDFGrammar()
{
if( !m_aObjectStack.empty() )