diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-05 14:03:02 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-05 14:03:02 +0000 |
commit | aaf175cf2de427a5d40b560fd080c3e5e04e511b (patch) | |
tree | bb2b4f1f6a4f87e8597a81d20a775fffa929f359 /padmin | |
parent | 4e69b4073a40a1a30b6650d6f3f8f954c7fbb469 (diff) |
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
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/padialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } |