From 764c3805e9fe5d9194cbaa38766e44f9993fb31b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 28 Jun 2017 10:49:31 +0200 Subject: -Werror=ignored-qualifiers (GCC 8) Change-Id: Id2f60099d062b5aa1baf8ed1a1d5145663ae8bdd --- chart2/source/controller/dialogs/dlg_ObjectProperties.cxx | 2 +- chart2/source/controller/dialogs/res_DataLabel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index b1880afb25b4..e1fbd2aac208 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -592,7 +592,7 @@ void SchAttribTabDlg::PageCreated(sal_uInt16 nId, SfxTabPage &rPage) break; case RID_SVXPAGE_NUMBERFORMAT: - aSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (const sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); + aSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); rPage.PageCreated(aSet); break; case TP_XERRORBAR: diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index c75d8c4808c1..433d3ce1ce21 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -192,7 +192,7 @@ IMPL_LINK( DataLabelResources, NumberFormatDialogHdl, Button *, pButton, void ) m_pCBPercent->Check(); SfxItemSet aNumberSet = NumberFormatDialog::CreateEmptyItemSetForNumberFormatDialog( *m_pPool ); - aNumberSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (const sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); + aNumberSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); bool bPercent = ( pButton == m_pPB_NumberFormatForPercent ); -- cgit