summaryrefslogtreecommitdiffstats
path: root/sdext/source/pdfimport/wrapper/wrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/wrapper/wrapper.cxx')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index aba48b11a053..1b9a6c18af97 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -59,6 +59,7 @@
#include <vcl/virdev.hxx>
#include <memory>
+#include <string_view>
#include <unordered_map>
#include <string.h>
#include <stdlib.h>
@@ -890,7 +891,7 @@ void Parser::parseLine( const OString& rLine )
} // namespace
-static bool checkEncryption( const OUString& i_rPath,
+static bool checkEncryption( std::u16string_view i_rPath,
const uno::Reference< task::XInteractionHandler >& i_xIHdl,
OUString& io_rPwd,
bool& o_rIsEncrypted,