From e0cbd673c23b7975cb5bb2bcb34b2ff1be58c974 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 12 Nov 2013 15:39:44 +0100 Subject: [PATCH] -Werror,-Wunused-exception-parameter Change-Id: Ibcda8d872ad89a363f71bc4d5aa92b6bae2d2608 --- sdext/source/pdfimport/pdfparse/pdfparse.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }