summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-15 16:40:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-16 08:25:02 +0100
commitb8512a1cc771b0bce7305ed5930524e1527b1cc1 (patch)
tree5459737688a820bd2f15c01093c61e9823441876 /starmath
parenta47baea83f761937f5b8b5ed0ee142d3e04386d4 (diff)
use more TypedWhichId in sfxsids
Change-Id: I136427319ce2f1117501517efec2f03019bbf71e Reviewed-on: https://gerrit.libreoffice.org/51339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 87aff89a864f..9cbb38e075a7 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2004,7 +2004,7 @@ bool SmViewShell::IsInlineEditEnabled() const
void SmViewShell::ZoomByItemSet(const SfxItemSet *pSet)
{
assert(pSet);
- const SvxZoomItem &rZoom = static_cast<const SvxZoomItem &>(pSet->Get(SID_ATTR_ZOOM));
+ const SvxZoomItem &rZoom = pSet->Get(SID_ATTR_ZOOM);
switch( rZoom.GetType() )
{
case SvxZoomType::PERCENT: