summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
index fd7ba9c332ea..7952adbcf206 100644
--- a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
@@ -121,12 +121,12 @@ int main(int argc, char **argv)
#if POPPLER_CHECK_VERSION(22, 6, 0)
PDFDoc aDoc( std::make_unique<GooString>(pFileName),
- std::optional<GooString>(pOwnerPasswordStr),
- std::optional<GooString>(pUserPasswordStr) );
+ boost::optional<GooString>(pOwnerPasswordStr),
+ boost::optional<GooString>(pUserPasswordStr) );
PDFDoc aErrDoc( std::make_unique<GooString>(pErrFileName),
- std::optional<GooString>(pOwnerPasswordStr),
- std::optional<GooString>(pUserPasswordStr) );
+ boost::optional<GooString>(pOwnerPasswordStr),
+ boost::optional<GooString>(pUserPasswordStr) );
#else
PDFDoc aDoc( pFileName,
pOwnerPasswordStr,