diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 00:16:12 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 00:16:12 +0000 |
commit | cad1e861fd9ca055295b9e98b2568d117f806aaf (patch) | |
tree | d623606050e7b54ceb6454348cf1f5fea996f3da /connectivity/source/drivers/ado/AView.cxx | |
parent | 9f400151435d39746eb0fd39323722eb68723546 (diff) |
INTEGRATION: CWS warnings01 (1.13.30); FILE MERGED
2005/11/07 14:43:10 fs 1.13.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity/source/drivers/ado/AView.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/AView.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/connectivity/source/drivers/ado/AView.cxx b/connectivity/source/drivers/ado/AView.cxx index 0835caea0a3a..9de50b5a4de4 100644 --- a/connectivity/source/drivers/ado/AView.cxx +++ b/connectivity/source/drivers/ado/AView.cxx @@ -4,9 +4,9 @@ * * $RCSfile: AView.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2005-09-08 05:32:17 $ + * last change: $Author: hr $ $Date: 2006-06-20 01:16:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -92,10 +92,8 @@ Sequence< sal_Int8 > OAdoView::getUnoTunnelImplementationId() sal_Int64 OAdoView::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException) { return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) ) - ? - (sal_Int64)this - : - OView_ADO::getSomething(rId); + ? reinterpret_cast< sal_Int64 >( this ) + : OView_ADO::getSomething(rId); } // ------------------------------------------------------------------------- |