summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-02 14:08:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-02 14:08:45 +0100
commit21eba05f5f7090dc58a6920486cc1cf7ead3fd44 (patch)
tree23b4af5935715c26a30757161a3b01324fdb74e4 /sdext
parent522c0bb54a94ff6e62e215b1c2b04f06dcd756d7 (diff)
Blind fix for MSVC warning C4101: 'rError': unreferenced local variable
...after 4e102d6a4b483098e80ca86e19ee8576ae5356f1 "sdext: MSVC: pragma warning: make more specific, remove obsolete" Change-Id: Ibd198ef24aa67c4c98bc1f504deccb1fdf28d054
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 1ce4c366a408..e5350d26745d 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -558,6 +558,8 @@ PDFEntry* PDFReader::read( const char* pBuffer, unsigned int nLen )
aTmp += " " + OString(typeid( *(aGrammar.m_aObjectStack[i]) ).name());
SAL_WARN("sdext.pdfimport.pdfparse", "parse error: " << rError.descriptor << " at buffer pos " << rError.where - pBuffer << ", object stack: " << aTmp);
+#else
+ (void)rError;
#endif
}