summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-10 15:17:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-10 16:37:20 +0200
commitce65d21ddb0f77846ecf3f3800ca0f361a9e5dbd (patch)
treea0ea059db9246cba3a5a1ad226b813ef03f81d39 /svx/source/table
parenta8d59b7f3e361538ad5409b9faa6c6ebca60ff59 (diff)
Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SET
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/cell.cxx2
-rw-r--r--svx/source/table/tablecontroller.cxx2
2 files changed, 2 insertions, 2 deletions
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;