summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-20 15:53:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-21 11:40:19 +0100
commit956dd4a202a0897b7ca1f8abd285af2cad47abb2 (patch)
treee691b573d43273755294df78c624e5a380c35a62 /chart2
parentFix typo (diff)
downloadcore-956dd4a202a0897b7ca1f8abd285af2cad47abb2.tar.gz
core-956dd4a202a0897b7ca1f8abd285af2cad47abb2.zip
TypedWhichId in svx part 2
Change-Id: Id927679c9f07f1dd820f4fdca9a45eb7aede037c Reviewed-on: https://gerrit.libreoffice.org/46850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
index 13c8c2246ab3..aa168a51e6e2 100644
--- a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
@@ -926,8 +926,7 @@ bool AxisItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet
if( aState == SfxItemState::SET )
{
sal_Int32 nFormatKey = static_cast< sal_Int32 >(
- static_cast< const SfxUInt32Item & >(
- rItemSet.Get( SID_ATTR_NUMBERFORMAT_VALUE )).GetValue());
+ rItemSet.Get( SID_ATTR_NUMBERFORMAT_VALUE ).GetValue());
aValue <<= nFormatKey;
}
else