summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/view2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/view2.cxx')
-rw-r--r--sw/source/uibase/uiview/view2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index c4bc01bc5498..558350d63e10 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -923,7 +923,7 @@ void SwView::Execute(SfxRequest &rReq)
{
ScopedVclPtrInstance< SwGotoPageDlg > aDlg (&GetViewFrame()->GetWindow(), &GetViewFrame()->GetBindings());
if(aDlg->Execute() == RET_OK)
- GetWrtShell().GotoPage((sal_uInt16)aDlg->GetPageSelection(), true);
+ GetWrtShell().GotoPage(aDlg->GetPageSelection(), true);
}
break;
case FN_EDIT_CURRENT_TOX: