summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-24 18:32:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 13:31:47 +0200
commit99097e32b205b3a37214d6f082f5f831d0422527 (patch)
treeeefe09b4e26c4f28d5f4eca044bd8c66430becbe /sd
parentfd113e2f44d4e821e829fb71ac51da33a3284b2f (diff)
more TypedWhichId
Change-Id: I2536f09fc48ff641c0e5c646ca7127f293ae5db4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152259 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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;