summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/workben/pdfverify.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/workben/pdfverify.cxx')
-rw-r--r--xmlsecurity/workben/pdfverify.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlsecurity/workben/pdfverify.cxx b/xmlsecurity/workben/pdfverify.cxx
index d98a2fb1750e..16856129fa5e 100644
--- a/xmlsecurity/workben/pdfverify.cxx
+++ b/xmlsecurity/workben/pdfverify.cxx
@@ -8,6 +8,7 @@
*/
#include <iostream>
+#include <string_view>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -33,7 +34,7 @@ using namespace com::sun::star;
namespace
{
/// Does PDF to PNG conversion using pdfium.
-void generatePreview(const OString& rPdfPath, const OString& rPngPath)
+void generatePreview(std::string_view rPdfPath, std::string_view rPngPath)
{
GraphicFilter& rFilter = GraphicFilter::GetGraphicFilter();
Graphic aGraphic;