summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/filterdet.cxx4
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx
index f6356d8676e8..ef29e8a2c022 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -591,7 +591,7 @@ uno::Reference< io::XStream > getAdditionalStream( const OUString&
{
OString aIsoPwd = OUStringToOString( io_rPwd,
RTL_TEXTENCODING_ISO_8859_1 );
- bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd.getStr() );
+ bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd );
}
if( ! bAuthenticated )
{
@@ -616,7 +616,7 @@ uno::Reference< io::XStream > getAdditionalStream( const OUString&
bEntered = getPassword( xIntHdl, io_rPwd, ! bEntered, aDocName );
OString aIsoPwd = OUStringToOString( io_rPwd,
RTL_TEXTENCODING_ISO_8859_1 );
- bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd.getStr() );
+ bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd );
} while( bEntered && ! bAuthenticated );
}
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index e3e1c3aa8d04..f75821788d0f 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -929,7 +929,7 @@ static bool checkEncryption( std::u16string_view i_rPa
{
OString aIsoPwd = OUStringToOString( io_rPwd,
RTL_TEXTENCODING_ISO_8859_1 );
- bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd.getStr() );
+ bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd );
}
if( bAuthenticated )
bSuccess = true;
@@ -943,7 +943,7 @@ static bool checkEncryption( std::u16string_view i_rPa
bEntered = getPassword( i_xIHdl, io_rPwd, ! bEntered, i_rDocName );
OString aIsoPwd = OUStringToOString( io_rPwd,
RTL_TEXTENCODING_ISO_8859_1 );
- bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd.getStr() );
+ bAuthenticated = pPDFFile->setupDecryptionData( aIsoPwd );
} while( bEntered && ! bAuthenticated );
}
nd on instdir fonts"Jan-Marek Glogowski 2019-10-04add "system" PCH that contains often used system headers such as STLLuboš Luňák 2019-07-05Make font-based unit test depend on instdir fontsJan-Marek Glogowski 2018-08-24Moving mysqlc into connectivity as a libraryTamas Bunth 2017-07-21migrate to boost::gettextCaolán McNamara 2017-07-15emfplus: create a wmf/emf/emf+ primitive based importerArmin Le Grand 2017-04-14remove the old collaboration feature based on telepathyMarkus Mohrhard 2016-12-19lets always have at least dbtoolsCaolán McNamara 2016-08-18screenshots: add new global make targetArmin Le Grand 2016-06-18uitest: build system part for new uitestsMarkus Mohrhard 2016-03-21clew: move this foreign code to external/clewMichael Stahl 2016-01-20drop basebmp entirely nowCaolán McNamara 2015-06-29online update: Add MAR library creation capabilityNathan Yee 2015-03-20Remove library urelibs. It was more just a temporary hack and is not used.Matúš Kukan