summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/AUser.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:15:48 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 00:15:48 +0000
commit437db96808113ec4ccacf2c11566f3a909c34f36 (patch)
tree7790082059080aacb4daae81fa92fa09441a8c7c /connectivity/source/drivers/ado/AUser.cxx
parente4a7629cdca5a08d5977d4fb17c6ad6e852029f4 (diff)
INTEGRATION: CWS warnings01 (1.16.30); FILE MERGED
2005/11/07 14:43:09 fs 1.16.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity/source/drivers/ado/AUser.cxx')
-rw-r--r--connectivity/source/drivers/ado/AUser.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/connectivity/source/drivers/ado/AUser.cxx b/connectivity/source/drivers/ado/AUser.cxx
index 2cb327d73517..35433c2b23c6 100644
--- a/connectivity/source/drivers/ado/AUser.cxx
+++ b/connectivity/source/drivers/ado/AUser.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AUser.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 05:31:50 $
+ * last change: $Author: hr $ $Date: 2006-06-20 01:15:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -120,10 +120,8 @@ Sequence< sal_Int8 > OAdoUser::getUnoTunnelImplementationId()
sal_Int64 OAdoUser::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException)
{
return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
- ?
- (sal_Int64)this
- :
- OUser_TYPEDEF::getSomething(rId);
+ ? reinterpret_cast< sal_Int64 >( this )
+ : OUser_TYPEDEF::getSomething(rId);
}
// -------------------------------------------------------------------------