writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 221d874ec8168eb9fcdf97605b71eaf9227815f4
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Mon Aug 18 16:15:01 2014 +0200

    Fix -Werror=sign-compare
    
    Change-Id: I5c5f31a4970c1c5f2930dd3ae99a46c568101ac4

diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx 
b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index ce4ec43..d8673c0 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -282,9 +282,9 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
     throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
 {
     uno::Reference< xml::sax::XFastContextHandler > xResult;
-    if ((Element & 0xffff0000) != NMSP_mce && !m_bDiscardChildren)
+    if (oox::getNamespace(Element) != NMSP_mce && !m_bDiscardChildren)
         xResult.set(lcl_createFastChildContext(Element, Attribs));
-    else if ((Element & 0xffff0000) == NMSP_mce)
+    else if (oox::getNamespace(Element) == NMSP_mce)
         xResult = this;
 
     return xResult;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to