summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-22 13:24:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-22 13:24:27 +0100
commit981470b2404a80ed87f237a0e8a62cdef7cea9a5 (patch)
tree6d5d1e887ed2bdcbdbbbc2ca637844b9d9b3ff98 /oox/source
parent5de43a57cde537507de607c31573a31e90b4c5c8 (diff)
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.
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/core/xmlfilterbase.cxx1
1 files changed, 0 insertions, 1 deletions
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()
: "<unconvertable>",
OUStringToOString( aValue.getValueTypeName(), RTL_TEXTENCODING_UTF8 ).getStr());
- (void) bHaveString; // avoid warnings
}
}
return *this;