summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-12 15:39:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 10:14:57 +0100
commite0cbd673c23b7975cb5bb2bcb34b2ff1be58c974 (patch)
treef721166b075da04d79c53ea722d47d49d9f96368 /sdext
parente04fe00707e4634148a9490d2f323cf85c407bf2 (diff)
-Werror,-Wunused-exception-parameter
Change-Id: Ibcda8d872ad89a363f71bc4d5aa92b6bae2d2608
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index c3ee50888066..69aa4d8f783b 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -640,6 +640,7 @@ PDFEntry* PDFReader::read( const char* pFileName )
}
catch( const parser_error< const char*, file_iterator<> >& rError )
{
+ SAL_WARN("sdext.pdfimport.pdfparse", "parse error: " << rError.descriptor << " at buffer pos " << rError.where - file_start);
#if OSL_DEBUG_LEVEL > 1
OUString aTmp;
unsigned int nElem = aGrammar.m_aObjectStack.size();
@@ -650,7 +651,7 @@ PDFEntry* PDFReader::read( const char* pFileName )
strlen(typeid( *(aGrammar.m_aObjectStack[i]) ).name()),
RTL_TEXTENCODING_ASCII_US);
}
- SAL_WARN("sdext.pdfimport.pdfparse", "parse error: " << rError.descriptor << " at buffer pos " << rError.where - file_start << ", object stack: " << aTmp);
+ SAL_WARN("sdext.pdfimport.pdfparse", "parse error object stack: " << aTmp);
#endif
}