diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-20 13:30:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-21 06:09:01 +0100 |
commit | 24158311c115c2db6dd05a751f75a5c084e2c0d1 (patch) | |
tree | d6e69417f050d4ed5d3bd0fd0c51c53090106ba6 /sw/source/uibase/frmdlg | |
parent | 490287a1b22411f4ac32127c93228e06dad4ff22 (diff) |
TypedWhichId in svx part 1
and teach the idl compiler how to ignore the TypeWhichId<T1> part
of the define
Change-Id: I030f54080924d51e9f0ac09b19e14106648024db
Reviewed-on: https://gerrit.libreoffice.org/46849
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/frmdlg')
-rw-r--r-- | sw/source/uibase/frmdlg/colex.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx index 7e4c3cdf5629..c7c481f35c3d 100644 --- a/sw/source/uibase/frmdlg/colex.cxx +++ b/sw/source/uibase/frmdlg/colex.cxx @@ -145,8 +145,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) false, &pItem ) ) { const SfxItemSet& rFooterSet = static_cast<const SvxSetItem*>(pItem)->GetItemSet(); - const SfxBoolItem& rFooterOn = - static_cast<const SfxBoolItem&>(rFooterSet.Get( SID_ATTR_PAGE_ON )); + const SfxBoolItem& rFooterOn = rFooterSet.Get( SID_ATTR_PAGE_ON ); if ( rFooterOn.GetValue() ) { |