diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-03-09 13:46:28 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-28 12:48:32 +0000 |
commit | 9177901fd6491be2937126839e5b96b1bb77ae7c (patch) | |
tree | 52ed173378b48713a8be837df2d471e554667972 /sd/source/ui/dlg/present.cxx | |
parent | 8bcf6ba5586818f4100113a6b685e891de84a5ea (diff) |
impress211: fix some warnings, types
Diffstat (limited to 'sd/source/ui/dlg/present.cxx')
-rwxr-xr-x | sd/source/ui/dlg/present.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index e606dfa4f191..dbe57f0442f5 100755 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -226,7 +226,7 @@ void SdStartPresentationDlg::InitMonitorSettings() maLBMonitor.InsertEntry( aName ); // Store display index together with name. - const USHORT nEntryIndex (maLBMonitor.GetEntryCount()-1); + const sal_uInt32 nEntryIndex (maLBMonitor.GetEntryCount()-1); maLBMonitor.SetEntryData(nEntryIndex, (void*)nDisplay); // Remember to select the default display. @@ -236,7 +236,7 @@ void SdStartPresentationDlg::InitMonitorSettings() if( !bUnifiedDisplay ) maLBMonitor.InsertEntry( msAllMonitors ); - const USHORT nEntryIndex (maLBMonitor.GetEntryCount()-1); + const sal_uInt32 nEntryIndex (maLBMonitor.GetEntryCount()-1); maLBMonitor.SetEntryData(nEntryIndex, (void*)-1); if (nDefaultValue == -1) nSelected = nEntryIndex; |