summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-16 13:09:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-17 11:11:50 +0100
commitc690d38b066bb9cda3e6af790c36fb37d2e0dea3 (patch)
treef769acfa1b117c65f65ba0cc512e92e03a3b5964 /svx/source/engine3d
parent666dc76e0426927c5f8e70fcfa5bce25171a0722 (diff)
TypedWhichId for EE_CHAR* constants
Change-Id: I261f8a949ddd858dee196118bb42993a101a2a28 Reviewed-on: https://gerrit.libreoffice.org/44829 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/view3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index dd4396c91a56..8c63c38f2923 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -652,7 +652,7 @@ void E3dView::ImpChangeSomeAttributesFor3DConversion(SdrObject* pObj)
if(dynamic_cast<const SdrTextObj*>( pObj) != nullptr)
{
const SfxItemSet& rSet = pObj->GetMergedItemSet();
- const SvxColorItem& rTextColorItem = static_cast<const SvxColorItem&>(rSet.Get(EE_CHAR_COLOR));
+ const SvxColorItem& rTextColorItem = rSet.Get(EE_CHAR_COLOR);
if(rTextColorItem.GetValue() == RGB_Color(COL_BLACK))
{
//For black text objects, the color set to gray