User: vg      
Date: 05/02/17 03:01:45

Modified:
 /dba/dbaccess/source/core/api/
  RowSet.cxx

Log:
 INTEGRATION: CWS dba23 (1.130.6); FILE MERGED
 2005/02/03 08:06:12 oj 1.130.6.2: RESYNC: (1.130-1.131); FILE MERGED
 2005/01/19 08:45:17 oj 1.130.6.1: #i40293# cast to sal_int64

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: RowSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.131&r2=1.132
Delta lines:  +4 -4
-------------------
--- RowSet.cxx  21 Jan 2005 17:02:14 -0000      1.131
+++ RowSet.cxx  17 Feb 2005 11:01:38 -0000      1.132
@@ -595,7 +595,7 @@
 sal_Int64 SAL_CALL ORowSet::getSomething( const Sequence< sal_Int8 >& rId ) 
throw(RuntimeException)
 {
        if (rId.getLength() == 16 && 0 == 
rtl_compareMemory(getImplementationId().getConstArray(),  rId.getConstArray(), 
16 ) )
-               return (sal_Int64)this;
+               return reinterpret_cast<sal_Int64>(this);
 
        return 0;
 }
@@ -1988,7 +1988,7 @@
                Reference< XUnoTunnel > xTunnel(i->get(),UNO_QUERY);
                if(xTunnel.is())
                {
-                       ORowSetClone* pClone = 
(ORowSetClone*)xTunnel->getSomething(ORowSetClone::getUnoTunnelImplementationId());
+                       ORowSetClone* pClone = 
reinterpret_cast<ORowSetClone*>(xTunnel->getSomething(ORowSetClone::getUnoTunnelImplementationId()));
                        if(pClone)
                                pClone->rowDelete(_rBookmark);
                }
@@ -2002,7 +2002,7 @@
                Reference< XUnoTunnel > xTunnel(i->get(),UNO_QUERY);
                if(xTunnel.is())
                {
-                       ORowSetClone* pClone = 
(ORowSetClone*)xTunnel->getSomething(ORowSetClone::getUnoTunnelImplementationId());
+                       ORowSetClone* pClone = 
reinterpret_cast<ORowSetClone*>(xTunnel->getSomething(ORowSetClone::getUnoTunnelImplementationId()));
                        if(pClone)
                                pClone->rowDeleted(_rBookmark);
                }
@@ -2684,7 +2684,7 @@
 sal_Int64 SAL_CALL ORowSetClone::getSomething( const Sequence< sal_Int8 >& rId 
) throw(RuntimeException)
 {
        if (rId.getLength() == 16 && 0 == 
rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(),  
rId.getConstArray(), 16 ) )
-               return (sal_Int64)this;
+               return reinterpret_cast<sal_Int64>(this);
 
        return 0;
 }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to