summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/model
diff options
context:
space:
mode:
authorAndre Fischer <Andre.W.Fischer <Andre Fischer<Andre.W.Fischer@Sun.COM>2010-04-28 14:48:44 +0200
committerAndre Fischer <Andre.W.Fischer <Andre Fischer<Andre.W.Fischer@Sun.COM>2010-04-28 14:48:44 +0200
commitecb6bc55ff67fb87bbf5fa75d941cfe891560c3a (patch)
tree99eaa522be3375e0407b600e4864f1d54b2aef7b /sd/source/ui/slidesorter/model
parent92fc8aeea78c22a692388701f8e93b21bab12b4e (diff)
renaissance1: resolved minor compilation problems.
Diffstat (limited to 'sd/source/ui/slidesorter/model')
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index 714ea953a31f..e49d42368c8a 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -654,7 +654,7 @@ void SlideSorterModel::InsertSlide (SdPage* pPage)
if (nIndex>0)
if (GetPage(nIndex-1) != GetPageDescriptor(nIndex-1)->GetPage())
return;
- if (nIndex<maPageDescriptors.size()-1)
+ if (size_t(nIndex)<maPageDescriptors.size()-1)
if (GetPage(nIndex+1) != GetPageDescriptor(nIndex)->GetPage())
return;