From 981470b2404a80ed87f237a0e8a62cdef7cea9a5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 22 Nov 2011 13:24:27 +0100 Subject: Base SAL_INFO/WARN inclusion on if instead of #if. So that variables only used within SAL_INFO/WARN do not lead to unused variable warnings in product builds. Also for OSL_TRACE (which used to work that way before already); allowing to revert a recent warning fix. --- oox/source/core/xmlfilterbase.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'oox/source') diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx index 1ffe56a90c95..b0486f6b5f3d 100644 --- a/oox/source/core/xmlfilterbase.cxx +++ b/oox/source/core/xmlfilterbase.cxx @@ -665,7 +665,6 @@ XmlFilterBase& XmlFilterBase::exportDocumentProperties( Reference< XDocumentProp ? OUStringToOString( sValue, RTL_TEXTENCODING_UTF8 ).getStr() : "", OUStringToOString( aValue.getValueTypeName(), RTL_TEXTENCODING_UTF8 ).getStr()); - (void) bHaveString; // avoid warnings } } return *this; -- cgit