summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/OutlinerIterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/OutlinerIterator.cxx')
-rw-r--r--sd/source/ui/view/OutlinerIterator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx
index d94aa84d5297..aee6712c4446 100644
--- a/sd/source/ui/view/OutlinerIterator.cxx
+++ b/sd/source/ui/view/OutlinerIterator.cxx
@@ -637,11 +637,11 @@ void ViewIteratorImpl::SetPage (sal_Int32 nPageIndex)
{
if (maPosition.meEditMode == EditMode::Page)
mpPage = mpDocument->GetSdPage (
- (sal_uInt16)nPageIndex,
+ static_cast<sal_uInt16>(nPageIndex),
maPosition.mePageKind);
else
mpPage = mpDocument->GetMasterSdPage (
- (sal_uInt16)nPageIndex,
+ static_cast<sal_uInt16>(nPageIndex),
maPosition.mePageKind);
}
else