[Libreoffice-commits] core.git: writerfilter/source

Stephan Bergmann sbergman at redhat.com
Thu Nov 14 03:02:38 PST 2013


 writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3aa23c76036ae8cfb21c4de3b5c608c51888eb5d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Nov 14 12:01:53 2013 +0100

    -Werror,-Wunused-variable
    
    Change-Id: Ida3365b0451b947e04d7097799ac5108f76fc1a5

diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index e6abeec..ced7b66 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -186,8 +186,8 @@ bool OOXMLFastContextHandler::prepareMceContext(Token_t nElement, const uno::Ref
             break;
         case OOXML_Choice:
         {
-            OUString aRequires = rAttribs->getOptionalValue(OOXML_Requires);
 #if 0 // Disabled for now: enabling "wps" would introduce regressions, and SAL_N_ELEMENTS() needs at least one element.
+            OUString aRequires = rAttribs->getOptionalValue(OOXML_Requires);
             static const char* aFeatures[] = {
                 "wps",
             };


More information about the Libreoffice-commits mailing list