diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-28 10:35:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-28 10:35:00 +0200 |
commit | 2b0e4671f8ecaba8db3f63a71dead7f8f2a67e19 (patch) | |
tree | 0e8d788607ec03c2013b461820ee3e7766c2d2e7 /svx | |
parent | d358fc1a455de153a197081948a271f612a495c3 (diff) |
-Werror=ignored-qualifiers (GCC 8)
Change-Id: I3863df89052b46aa28f1acdefa6745e153ca8370
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 6 | ||||
-rw-r--r-- | svx/source/sidebar/paragraph/ParaSpacingWindow.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index ef308e354797..ad628129c040 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -173,9 +173,9 @@ void ParaPropertyPanel::initial() IMPL_LINK_NOARG( ParaPropertyPanel, ModifyIndentHdl_Impl, Edit&, void) { SvxLRSpaceItem aMargin( SID_ATTR_PARA_LRSPACE ); - aMargin.SetTextLeft( (const long)GetCoreValue( *mpLeftIndent, m_eLRSpaceUnit ) ); - aMargin.SetRight( (const long)GetCoreValue( *mpRightIndent, m_eLRSpaceUnit ) ); - aMargin.SetTextFirstLineOfst( (const short)GetCoreValue( *mpFLineIndent, m_eLRSpaceUnit ) ); + aMargin.SetTextLeft( (long)GetCoreValue( *mpLeftIndent, m_eLRSpaceUnit ) ); + aMargin.SetRight( (long)GetCoreValue( *mpRightIndent, m_eLRSpaceUnit ) ); + aMargin.SetTextFirstLineOfst( (short)GetCoreValue( *mpFLineIndent, m_eLRSpaceUnit ) ); GetBindings()->GetDispatcher()->ExecuteList( SID_ATTR_PARA_LRSPACE, SfxCallMode::RECORD, { &aMargin }); diff --git a/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx b/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx index 542fcfe034dd..27873db96cd3 100644 --- a/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx +++ b/svx/source/sidebar/paragraph/ParaSpacingWindow.cxx @@ -284,9 +284,9 @@ IMPL_LINK_NOARG(ParaLRSpacingWindow, ModifySpacingHdl, Edit&, void) if(pDisp) { SvxLRSpaceItem aMargin(SID_ATTR_PARA_LRSPACE); - aMargin.SetTextLeft((const long)GetCoreValue(*m_pBeforeSpacing, m_eUnit)); - aMargin.SetRight((const long)GetCoreValue(*m_pAfterSpacing, m_eUnit)); - aMargin.SetTextFirstLineOfst((const short)GetCoreValue(*m_pFLSpacing, m_eUnit)); + aMargin.SetTextLeft((long)GetCoreValue(*m_pBeforeSpacing, m_eUnit)); + aMargin.SetRight((long)GetCoreValue(*m_pAfterSpacing, m_eUnit)); + aMargin.SetTextFirstLineOfst((short)GetCoreValue(*m_pFLSpacing, m_eUnit)); pDisp->ExecuteList(SID_ATTR_PARA_LRSPACE, SfxCallMode::RECORD, {&aMargin}); } |