diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:20:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:21:36 +0100 |
commit | d1c9e5ee53f8609092ea026639c8f28afec1d36a (patch) | |
tree | 192f7722bd0598614a08dd8e5ed13c08da44ca97 /unoxml | |
parent | 8289bc767ecc88cf07da60ab6a8b850f5c2e7eb4 (diff) |
tdf#43157: Fix format string violations in OSL_TRACE etc.
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32
"tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit
build
Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/qa/unit/domtest.cxx | 6 | ||||
-rw-r--r-- | unoxml/source/dom/node.cxx | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx index d793e2026b9a..9a03f66a8c1c 100644 --- a/unoxml/qa/unit/domtest.cxx +++ b/unoxml/qa/unit/domtest.cxx @@ -122,8 +122,10 @@ struct DocumentHandler // XFastContextHandler virtual void SAL_CALL startFastElement( ::sal_Int32 Element, const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE { - OSL_TRACE("Seen element: %c with namespace 0x%x", - Element & 0xFFFF, Element & 0xFFFF0000); + SAL_INFO( + "unoxml", + "Seen element: " << (Element & 0xFFFF) << " with namespace " + << (Element & 0xFFFF0000)); } virtual void SAL_CALL startUnknownElement( const OUString& , const OUString& , const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) SAL_OVERRIDE diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index eb9d73d06678..4fbba7c6318d 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -98,7 +98,7 @@ namespace DOM io_rContext.maNamespaces.back().push_back(aNS); - OSL_TRACE("Added with token 0x%x", aIter->second); + SAL_INFO("unoxml", "Added with token " << aIter->second); } } } |