[Libreoffice-commits] core.git: writerfilter/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Aug 18 07:16:04 PDT 2014
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 221d874ec8168eb9fcdf97605b71eaf9227815f4
Author: Miklos Vajna <vmiklos at 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;
More information about the Libreoffice-commits
mailing list