diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2013-07-07 10:52:38 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-07-09 10:10:39 +0000 |
commit | 1a44cf5f6d5a8da224a2e10febaf5b9c989eb9f3 (patch) | |
tree | ce86ca8be2e21192ecc7618d65be9471f6b39d84 /sw | |
parent | d37df8a7e1212560e896620b6fb5abb9db250306 (diff) |
Remove warning by using the right printf commands
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb
Reviewed-on: https://gerrit.libreoffice.org/4753
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unocoll.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/service.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index d046ba854c99..9f6e263419c7 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -261,7 +261,7 @@ public: aArgs[0] = uno::Any( uno::Reference< uno::XInterface >() ); aArgs[1] = uno::Any( mpDocShell->GetModel() ); uno::Reference< uno::XInterface > xDocObj = ooo::vba::createVBAUnoAPIServiceWithArgs( mpDocShell, "ooo.vba.word.Document" , aArgs ); - OSL_TRACE("Creating Object ( ooo.vba.word.Document ) 0x%x", xDocObj.get() ); + OSL_TRACE("Creating Object ( ooo.vba.word.Document ) 0x%p", xDocObj.get() ); return uno::makeAny( xDocObj ); } virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw (::com::sun::star::uno::RuntimeException) diff --git a/sw/source/ui/vba/service.cxx b/sw/source/ui/vba/service.cxx index 35d354db5204..ec8e3713d3f8 100644 --- a/sw/source/ui/vba/service.cxx +++ b/sw/source/ui/vba/service.cxx @@ -61,7 +61,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL vbaswobj_component_getFactory( void* pRet = component_getFactoryHelper(pImplName, pServiceManager, pRegistryKey, globals::serviceDecl, document::serviceDecl, wrapformat::serviceDecl, vbaeventshelper::serviceDecl ); - OSL_TRACE("Ret is 0x%x", pRet); + OSL_TRACE("Ret is 0x%p", pRet); return pRet; } |