summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/wrapper
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
commit97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch)
tree7974a8b9423c56982646366b0859dfb2a1a88d50 /sdext/source/pdfimport/wrapper
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'sdext/source/pdfimport/wrapper')
-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 25391e80d9bf..cdbcd2ddb6eb 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() );
- assert(pEntry);
+ OSL_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 )
{
- assert(rSink);
+ OSL_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 )
{
- assert(xInput.is());
- assert(rSink);
+ OSL_ASSERT(xInput.is());
+ OSL_ASSERT(rSink);
// convert XInputStream to local temp file
oslFileHandle aFile = nullptr;