summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/commonpagesdbp.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 13:50:40 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 13:50:40 +0000
commit2a881e168efc950b35a8d8fcc83be087b284a3ef (patch)
tree631895953bbc17b163a44448c98e6c09a77bed07 /extensions/source/dbpilots/commonpagesdbp.cxx
parent8d1b02183f0c0ca214b17b23cb0560da8eb93e26 (diff)
INTEGRATION: CWS intptr (1.11.114); FILE MERGED
2005/09/13 14:50:26 kendy 1.11.114.1: #i54498# Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'extensions/source/dbpilots/commonpagesdbp.cxx')
-rw-r--r--extensions/source/dbpilots/commonpagesdbp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx
index cf483dc9a932..35770369262a 100644
--- a/extensions/source/dbpilots/commonpagesdbp.cxx
+++ b/extensions/source/dbpilots/commonpagesdbp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: commonpagesdbp.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 19:25:58 $
+ * last change: $Author: kz $ $Date: 2005-10-05 14:50:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -194,7 +194,7 @@ namespace dbp
for ( USHORT nLookup = 0; nLookup < m_aTable.GetEntryCount(); ++nLookup )
{
if ( m_aTable.GetEntry( nLookup ) == sLookup )
- if ( reinterpret_cast< sal_Int32 >( m_aTable.GetEntryData( nLookup ) ) == nCommandType )
+ if ( reinterpret_cast< sal_IntPtr >( m_aTable.GetEntryData( nLookup ) ) == nCommandType )
{
m_aTable.SelectEntryPos( nLookup );
break;
@@ -225,7 +225,7 @@ namespace dbp
rContext.xForm->setPropertyValue( ::rtl::OUString::createFromAscii("DataSourceName"), makeAny( sDataSource ) );
}
::rtl::OUString sCommand = m_aTable.GetSelectEntry();
- sal_Int32 nCommandType = reinterpret_cast< sal_Int32 >( m_aTable.GetEntryData( m_aTable.GetSelectEntryPos() ) );
+ sal_Int32 nCommandType = reinterpret_cast< sal_IntPtr >( m_aTable.GetEntryData( m_aTable.GetSelectEntryPos() ) );
rContext.xForm->setPropertyValue( ::rtl::OUString::createFromAscii("Command"), makeAny( sCommand ) );
rContext.xForm->setPropertyValue( ::rtl::OUString::createFromAscii("CommandType"), makeAny( nCommandType ) );