From ce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 10 Sep 2014 15:17:49 +0200 Subject: Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SET Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b --- svx/source/table/cell.cxx | 2 +- svx/source/table/tablecontroller.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/table') diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index bbe6d315d9a0..35af45be5b32 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -265,7 +265,7 @@ namespace sdr { SfxItemSet aSet(pOutliner->GetParaAttribs(nPara)); aSet.Put(rSet); - if (aSet.GetItemState(EE_CHAR_COLOR, false) == SFX_ITEM_ON) + if (aSet.GetItemState(EE_CHAR_COLOR, false) == SFX_ITEM_SET) pOutliner->RemoveCharAttribs( nPara, EE_CHAR_COLOR ); pOutliner->SetParaAttribs(nPara, aSet); } diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 32e551474592..ae36dc639a9c 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -891,7 +891,7 @@ void SvxTableController::SetTableStyle( const SfxItemSet* pArgs ) for ( sal_uInt16 nWhich = SDRATTR_START; nWhich <= SDRATTR_TABLE_LAST; nWhich++ ) { - if( (rStyleAttribs.GetItemState( nWhich ) == SFX_ITEM_ON) && (aSet.GetItemState( nWhich ) == SFX_ITEM_ON) ) + if( (rStyleAttribs.GetItemState( nWhich ) == SFX_ITEM_SET) && (aSet.GetItemState( nWhich ) == SFX_ITEM_SET) ) { aSet.ClearItem( nWhich ); bChanges = true; -- cgit