[Libreoffice-commits] .: oox/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Tue Nov 22 03:10:22 PST 2011


 oox/source/core/xmlfilterbase.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 28bb26279e8412763cabce7d172ca8246c70a30d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 22 12:10:02 2011 +0100

    Avoid unused variable warning.

diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index b0486f6..1ffe56a 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -665,6 +665,7 @@ 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;


More information about the Libreoffice-commits mailing list