summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/res_DataLabel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 16:09:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-20 10:15:54 +0100
commit18c40a087f7846a2fc16e7dc6d8bb325d28e99b0 (patch)
tree9cc904a1d6d364a1da1fa3154c8aa5cc17f145f7 /chart2/source/controller/dialogs/res_DataLabel.cxx
parentloplugin:unusedindex (diff)
downloadcore-18c40a087f7846a2fc16e7dc6d8bb325d28e99b0.tar.gz
core-18c40a087f7846a2fc16e7dc6d8bb325d28e99b0.zip
convert chart2 to TypedWhichId
Change-Id: I1dc569d5a1667e3288fa64f16c22d39db130e906 Reviewed-on: https://gerrit.libreoffice.org/46813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/dialogs/res_DataLabel.cxx')
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index e7cc81283bab..25ea30bc51b4 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -161,7 +161,7 @@ DataLabelResources::DataLabelResources(VclBuilderContainer* pWindow, vcl::Window
if( rInAttrs.GetItemState(SCHATTR_DATADESCR_NO_PERCENTVALUE, true, &pPoolItem) == SfxItemState::SET )
{
- bool bForbidPercentValue = static_cast< const SfxBoolItem & >( rInAttrs.Get( SCHATTR_DATADESCR_NO_PERCENTVALUE )).GetValue();
+ bool bForbidPercentValue = rInAttrs.Get( SCHATTR_DATADESCR_NO_PERCENTVALUE ).GetValue();
if( bForbidPercentValue )
m_pCBPercent->Enable(false);
}