summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:03:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:03:41 +0000
commite5f3337f3bfa61d5204da1a582f7c7fdbf037511 (patch)
tree523624ccd7ff969cac89b862632be80d6f46316e /connectivity/source/commontools
parenta2a09762022567ed1a2e5d3b0bc9250eb7f55985 (diff)
INTEGRATION: CWS warnings01 (1.5.30); FILE MERGED
2005/11/07 14:42:59 fs 1.5.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/TConnection.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/commontools/TConnection.cxx b/connectivity/source/commontools/TConnection.cxx
index 7bd9f9fc5afe..a983a2e23199 100644
--- a/connectivity/source/commontools/TConnection.cxx
+++ b/connectivity/source/commontools/TConnection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TConnection.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 05:10:26 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:03:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -48,9 +48,8 @@ using namespace::osl;
sal_Int64 SAL_CALL OMetaConnection::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw (::com::sun::star::uno::RuntimeException)
{
return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
- ?
- (sal_Int64)this
- : sal_Int64(0);
+ ? reinterpret_cast< sal_Int64 >( this )
+ : (sal_Int64)0;
}
// -----------------------------------------------------------------------------
Sequence< sal_Int8 > OMetaConnection::getUnoTunnelImplementationId()