summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-05-08 11:59:45 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-08 11:59:45 +0200
commit2580fcb655e55e2e482524ccd5a84e13377b824b (patch)
treec036759b3e9d3ae97877cac3058e88cb93538791 /filter
parentoox: strict aliasing warning: (diff)
downloadcore-2580fcb655e55e2e482524ccd5a84e13377b824b.tar.gz
core-2580fcb655e55e2e482524ccd5a84e13377b824b.zip
svgreader.cxx: fix -Werror=sign-promo
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 5386f3c6bd7e..36e3dd5ea23c 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() );
}