Tag: cws_src680_ooo64bit02 User: pjanik Date: 05/01/21 07:07:03 Modified: /dba/dbaccess/source/ui/dlg/ generalpage.cxx
Log: #i8584#: sal_IntPtr instead of sal_Int32 for pointers. File Changes: Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: generalpage.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/generalpage.cxx?r1=1.40&r2=1.40.32.1 Delta lines: +5 -5 ------------------- --- generalpage.cxx 9 Nov 2004 12:33:08 -0000 1.40 +++ generalpage.cxx 21 Jan 2005 15:06:57 -0000 1.40.32.1 @@ -2,9 +2,9 @@ * * $RCSfile: generalpage.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.40.32.1 $ * - * last change: $Author: hr $ $Date: 2004/11/09 12:33:08 $ + * last change: $Author: pjanik $ $Date: 2005/01/21 15:06:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -482,7 +482,7 @@ else { USHORT nEntry = m_aDatasourceType.GetSelectEntryPos(); - DATASOURCE_TYPE eSelectedType = static_cast<DATASOURCE_TYPE>(reinterpret_cast<sal_Int32>(m_aDatasourceType.GetEntryData(nEntry))); + DATASOURCE_TYPE eSelectedType = static_cast<DATASOURCE_TYPE>(reinterpret_cast<sal_IntPtr>(m_aDatasourceType.GetEntryData(nEntry))); if (m_DBWizardMode) { sal_Bool bCurCreationMode = IsDatabaseToBeCreated(); @@ -511,7 +511,7 @@ { // get the type from the entry data sal_Int16 nSelected = _pBox->GetSelectEntryPos(); - DATASOURCE_TYPE eSelectedType = static_cast<DATASOURCE_TYPE>(reinterpret_cast<sal_Int32>(_pBox->GetEntryData(nSelected))); + DATASOURCE_TYPE eSelectedType = static_cast<DATASOURCE_TYPE>(reinterpret_cast<sal_IntPtr>(_pBox->GetEntryData(nSelected))); setParentTitle(eSelectedType); // let the impl method do all the stuff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
