summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
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 /sc/source/ui/docshell/docsh4.cxx
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 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index a847445f6051..bde0d7b6f4e9 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -587,7 +587,7 @@ void ScDocShell::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));
}