summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsd.cxx')
-rw-r--r--sd/source/ui/view/drviewsd.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsd.cxx b/sd/source/ui/view/drviewsd.cxx
index 59b040e68b97..1a6bb3aee913 100644
--- a/sd/source/ui/view/drviewsd.cxx
+++ b/sd/source/ui/view/drviewsd.cxx
@@ -72,8 +72,7 @@ void DrawViewShell::ExecNavigatorWin( SfxRequest& rReq )
mpDrawView->SdrEndTextEdit();
const SfxItemSet* pArgs = rReq.GetArgs();
- PageJump eJump = static_cast<PageJump>(static_cast<const SfxUInt16Item&>( pArgs->
- Get(SID_NAVIGATOR_PAGE)).GetValue());
+ PageJump eJump = static_cast<PageJump>( pArgs->Get(SID_NAVIGATOR_PAGE).GetValue() );
switch (eJump)
{