summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 14:02:44 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 14:02:44 +0000
commit4e69b4073a40a1a30b6650d6f3f8f954c7fbb469 (patch)
tree9b279375534625c6b457977d12777a36939d5d55 /padmin
parente6bb6194ba8618b51ea7b518871072f221364012 (diff)
INTEGRATION: CWS intptr (1.12.94); FILE MERGED
2005/09/13 14:50:35 kendy 1.12.94.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/fontentry.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/padmin/source/fontentry.cxx b/padmin/source/fontentry.cxx
index 486bfe742ca5..286a4eea3f5e 100644
--- a/padmin/source/fontentry.cxx
+++ b/padmin/source/fontentry.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fontentry.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hr $ $Date: 2005-09-28 15:11:25 $
+ * last change: $Author: kz $ $Date: 2005-10-05 15:02:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -371,7 +371,7 @@ IMPL_LINK( FontNameDlg, ClickBtnHdl, Button*, pButton )
for( i = 0; i < m_aFontBox.GetSelectEntryCount(); i++ )
{
int nSelect = m_aFontBox.GetSelectEntryPos( i );
- aRemoveIDs.push_back( (fontID)m_aFontBox.GetEntryData( nSelect ) );
+ aRemoveIDs.push_back( (fontID)(sal_IntPtr)m_aFontBox.GetEntryData( nSelect ) );
}
m_rFontManager.removeFonts( aRemoveIDs );
init();
@@ -386,7 +386,7 @@ IMPL_LINK( FontNameDlg, ClickBtnHdl, Button*, pButton )
{
for( i = 0; i < m_aFontBox.GetSelectEntryCount(); i++ )
{
- fontID aFont = (fontID)m_aFontBox.GetEntryData( m_aFontBox.GetSelectEntryPos( i ) );
+ fontID aFont = (fontID)(sal_IntPtr)m_aFontBox.GetEntryData( m_aFontBox.GetSelectEntryPos( i ) );
if( ! m_rFontManager.checkChangeFontPropertiesPossible( aFont ) )
{
String aErrorText( m_aNoRenameString );