From adeefc6295b1cf411b47b9b4213c16effea9d832 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 16 Oct 2015 12:06:21 +0200 Subject: sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too. Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a --- svx/source/dialog/hdft.cxx | 2 +- svx/source/sidebar/nbdtmg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 3e92de82d3a0..925d43d475bd 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -1165,7 +1165,7 @@ void SvxHFPage::EnableDynamicSpacing() void SvxHFPage::PageCreated(const SfxAllItemSet &rSet) { //UUUU - SFX_ITEMSET_ARG(&rSet, pSupportDrawingLayerFillStyleItem, SfxBoolItem, SID_DRAWINGLAYER_FILLSTYLES); + const SfxBoolItem* pSupportDrawingLayerFillStyleItem = rSet.GetItem(SID_DRAWINGLAYER_FILLSTYLES, false); if(pSupportDrawingLayerFillStyleItem) { diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 90facf1fe8fe..a79655ff034b 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -143,7 +143,7 @@ void NBOTypeMgrBase::StoreBulCharFmtName_impl() { if ( pSet ) { SfxAllItemSet aSet(*pSet); - SFX_ITEMSET_ARG(&aSet,pBulletCharFmt,SfxStringItem,SID_BULLET_CHAR_FMT); + const SfxStringItem* pBulletCharFmt = aSet.GetItem(SID_BULLET_CHAR_FMT, false); if ( pBulletCharFmt ) { -- cgit