summaryrefslogtreecommitdiffstats
path: root/sdext/source/pdfimport/wrapper/wrapper.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:10:37 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:26:10 +1000
commit17ecba5a723e94161b752af504a28b068645f476 (patch)
treee114a59b3010452c0df1784019cd6c587cc47244 /sdext/source/pdfimport/wrapper/wrapper.cxx
parenttdf#43157: convert most of vcl codebase away from OSL_ASSERT to assert (diff)
downloadcore-17ecba5a723e94161b752af504a28b068645f476.tar.gz
core-17ecba5a723e94161b752af504a28b068645f476.zip
tdf#43157: convert sdext codebase away from OSL_ASSERT to assert
Change-Id: If60f3585f202aabf42582239840aa87c96ae7842
Diffstat (limited to 'sdext/source/pdfimport/wrapper/wrapper.cxx')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index cdbcd2ddb6eb..25391e80d9bf 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -826,7 +826,7 @@ void Parser::parseLine( const OString& rLine )
const OString& rCmd = readNextToken();
const hash_entry* pEntry = PdfKeywordHash::in_word_set( rCmd.getStr(),
rCmd.getLength() );
- OSL_ASSERT(pEntry);
+ assert(pEntry);
switch( pEntry->eKey )
{
case CLIPPATH:
@@ -1017,7 +1017,7 @@ bool xpdf_ImportFromFile( const OUString& rURL,
const uno::Reference< uno::XComponentContext >& xContext,
const OUString& rFilterOptions )
{
- OSL_ASSERT(rSink);
+ assert(rSink);
OUString aSysUPath;
if( osl_getSystemPathFromFileURL( rURL.pData, &aSysUPath.pData ) != osl_File_E_None )
@@ -1196,8 +1196,8 @@ bool xpdf_ImportFromStream( const uno::Reference< io::XInputStream >& xI
const uno::Reference< uno::XComponentContext >& xContext,
const OUString& rFilterOptions )
{
- OSL_ASSERT(xInput.is());
- OSL_ASSERT(rSink);
+ assert(xInput.is());
+ assert(rSink);
// convert XInputStream to local temp file
oslFileHandle aFile = nullptr;