summaryrefslogtreecommitdiff
path: root/padmin/source/padialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'padmin/source/padialog.cxx')
-rw-r--r--padmin/source/padialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx
index 85a1d52c5875..4f1056a48a1c 100644
--- a/padmin/source/padialog.cxx
+++ b/padmin/source/padialog.cxx
@@ -737,7 +737,7 @@ void PADialog::UpdateDevice()
bFax ? m_aFaxImg :
bPdf ? m_aPdfImg : m_aPrinterImg
);
- m_aDevicesLB.SetEntryData( nPos, (void*)it->getLength() );
+ m_aDevicesLB.SetEntryData( nPos, (void*)(sal_IntPtr)it->getLength() );
if( *it == m_rPIManager.getDefaultPrinter() )
{
m_aDevicesLB.SelectEntryPos( nPos );