diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-27 23:26:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-28 12:48:36 +0000 |
commit | 4367079f509417132ab6726dd169e8b59730c2ae (patch) | |
tree | a58d45ef129853c48a409cad535a8d97589217fc /sd | |
parent | 837e2808f7ed0ef7e40f2596a7a1781b52b606a2 (diff) |
Fix a warning
Change-Id: I4921c437a6a410e67ea937029b53a1df93e48674
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/present.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index bbb6126f298d..4c82a07a06ac 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -219,7 +219,7 @@ void SdStartPresentationDlg::InitMonitorSettings() // Store display index together with name. const sal_uInt32 nEntryIndex (maLBMonitor.GetEntryCount()-1); - maLBMonitor.SetEntryData(nEntryIndex, (void*)nDisplay); + maLBMonitor.SetEntryData(nEntryIndex, (void*)(sal_IntPtr)nDisplay); // Remember the index of the default selection. if (nDefaultSelectedDisplay == nDisplay) |