summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews2.cxx3
-rw-r--r--sd/source/ui/view/drviews6.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 90560323842b..348c4ec1fb9f 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -3283,8 +3283,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
{
if ( rReq.GetArgs() )
GetViewFrame()->SetChildWindow(SvxColorChildWindow::GetChildWindowId(),
- static_cast<const SfxBoolItem&>(rReq.GetArgs()->
- Get(SID_COLOR_CONTROL)).GetValue());
+ rReq.GetArgs()->Get(SID_COLOR_CONTROL).GetValue());
else
GetViewFrame()->ToggleChildWindow(SvxColorChildWindow::GetChildWindowId() );
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index bd34aa5a0267..e02b54f48845 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -255,8 +255,7 @@ void DrawViewShell::ExecBmpMask( SfxRequest const & rReq )
{
case SID_BMPMASK_PIPETTE :
{
- mbPipette = static_cast<const SfxBoolItem&>( rReq.GetArgs()->
- Get( SID_BMPMASK_PIPETTE ) ).GetValue();
+ mbPipette = rReq.GetArgs()->Get( SID_BMPMASK_PIPETTE ).GetValue();
}
break;