summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-02 12:19:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-03 16:04:03 +0100
commita4fbb496ef001d62fce0ad3cdd7a829f99aa182e (patch)
tree46251b839097ec9486da8da98bacf507ba4692e9 /sd/source/ui/docshell
parentaa7f880e8a847686bc4ec2d8ca5f74f39c32abac (diff)
more TypedWhichId in SfxShell and SfxTabDialog
and remove some unnecessary local copies of pool items Change-Id: Ifdac8d84658fd4b803267038592d7da370e23a0d Reviewed-on: https://gerrit.libreoffice.org/49138 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index b7e1c5b33feb..e65d0729b009 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -236,7 +236,7 @@ void DrawDocShell::Execute( SfxRequest& rReq )
case SID_GET_COLORLIST:
{
- const SvxColorListItem* pColItem = static_cast<const SvxColorListItem*>( GetItem( SID_COLOR_TABLE ) );
+ const SvxColorListItem* pColItem = GetItem( SID_COLOR_TABLE );
XColorListRef pList = pColItem->GetColorList();
rReq.SetReturnValue( OfaRefItem<XColorList>( SID_GET_COLORLIST, pList ) );
}