[Libreoffice-commits] .: filter/source

Michael Stahl mst at kemper.freedesktop.org
Tue May 8 03:01:13 PDT 2012


 filter/source/svg/svgreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2580fcb655e55e2e482524ccd5a84e13377b824b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue May 8 11:59:45 2012 +0200

    svgreader.cxx: fix -Werror=sign-promo

diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 5386f3c..36e3dd5 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -135,7 +135,7 @@ template<typename Func> void visitChildren(const Func& rFunc,
     const sal_Int32 nNumNodes( xChildren->getLength() );
     for( sal_Int32 i=0; i<nNumNodes; ++i )
     {
-        SAL_INFO("svg", "node type: " << xChildren->item(i)->getNodeType() << " tag name " << xChildren->item(i)->getNodeName() << " value |" << xChildren->item(i)->getNodeValue() << "|");
+        SAL_INFO("svg", "node type: " << sal::static_int_cast<sal_uInt32>(xChildren->item(i)->getNodeType()) << " tag name " << xChildren->item(i)->getNodeName() << " value |" << xChildren->item(i)->getNodeValue() << "|");
         if( xChildren->item(i)->getNodeType() == eChildType )
             rFunc( *xChildren->item(i).get() );
     }


More information about the Libreoffice-commits mailing list