summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:01:52 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:01:52 +0000
commit67f9178b5ab037434f3a980a8c162c70eca1ada7 (patch)
treeec3efcecf5aeda61de4c4d2eae65d0b1e1b41602 /unotools/inc
parent8fff021a3fb83f304263d293d7d9d1f97f8e99e6 (diff)
INTEGRATION: CWS warnings01 (1.3.16); FILE MERGED
2005/10/26 10:35:45 pl 1.3.16.2: #i55991# removed warnings for linux platform 2005/10/26 10:28:31 pl 1.3.16.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/servicehelper.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/inc/unotools/servicehelper.hxx b/unotools/inc/unotools/servicehelper.hxx
index edc73877221b..56611f35317c 100644
--- a/unotools/inc/unotools/servicehelper.hxx
+++ b/unotools/inc/unotools/servicehelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: servicehelper.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:37:06 $
+ * last change: $Author: hr $ $Date: 2006-06-19 14:01:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -76,7 +76,7 @@ classname* classname::getImplementation( uno::Reference< uno::XInterface > xInt
{ \
::com::sun::star::uno::Reference< ::com::sun::star::lang::XUnoTunnel > xUT( xInt, ::com::sun::star::uno::UNO_QUERY ); \
if( xUT.is() ) \
- return (classname*)xUT->getSomething( classname::getUnoTunnelId() ); \
+ return reinterpret_cast<classname*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething( classname::getUnoTunnelId() ))); \
else \
return NULL; \
}
@@ -88,7 +88,7 @@ sal_Int64 SAL_CALL classname::getSomething( const ::com::sun::star::uno::Sequenc
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
{ \
- return (sal_Int64)this; \
+ return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this)); \
} \
return 0; \
}
@@ -100,7 +100,7 @@ sal_Int64 SAL_CALL classname::getSomething( const ::com::sun::star::uno::Sequenc
if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
{ \
- return (sal_Int64)this; \
+ return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this)); \
} \
else \
{ \