From aaf175cf2de427a5d40b560fd080c3e5e04e511b Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 5 Oct 2005 14:03:02 +0000 Subject: INTEGRATION: CWS intptr (1.15.20); FILE MERGED 2005/09/13 14:50:36 kendy 1.15.20.1: #i54498# Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer --- padmin/source/padialog.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'padmin') diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index 6186b8b9f6c9..0dada3166e87 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -4,9 +4,9 @@ * * $RCSfile: padialog.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: rt $ $Date: 2005-09-08 16:26:14 $ + * last change: $Author: kz $ $Date: 2005-10-05 15:03:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -195,7 +195,7 @@ long PADialog::Notify( NotifyEvent& rEv ) String PADialog::getSelectedDevice() { int nPos = m_aDevicesLB.GetSelectEntryPos(); - int nLen = (int)m_aDevicesLB.GetEntryData( nPos ); + int nLen = (int)(sal_IntPtr)m_aDevicesLB.GetEntryData( nPos ); return m_aDevicesLB.GetEntry( nPos ).Copy( 0, nLen ); } -- cgit