diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-09-16 23:07:27 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2014-09-17 10:19:59 +0200 |
commit | 10fee3d3bcc358177ffb9578e631099b17e828c8 (patch) | |
tree | 4e96d1d726c8880ccd73a1d7b0d45d14a46c102a | |
parent | 93c4e3c9349a1ea07b822a2824559ad28f4a9a5e (diff) |
SFX_ITEM_SET to SfxItemState::SET
Change-Id: I95dc8872d702cbe63d5fdab10a9ddd0e86d49e06
-rw-r--r-- | sc/source/core/data/document10.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx index 0e12001152b9..8702e4c4458d 100644 --- a/sc/source/core/data/document10.cxx +++ b/sc/source/core/data/document10.cxx @@ -270,7 +270,7 @@ std::vector<Color> ScDocument::GetDocColors() while( nWhich ) { const SfxPoolItem *pItem; - if( SFX_ITEM_SET == rItemSet.GetItemState( nWhich, false, &pItem ) ) + if( SfxItemState::SET == rItemSet.GetItemState( nWhich, false, &pItem ) ) { sal_uInt16 aWhich = pItem->Which(); if( std::find(aColAttrs.begin(), aColAttrs.end(), aWhich) != aColAttrs.end() ) diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 539e3a2e6a12..4cd06b279889 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -1934,7 +1934,7 @@ std::vector<Color> SwDoc::GetDocColors() while( nWhich ) { const SfxPoolItem *pItem; - if( SFX_ITEM_SET == pItemSet->GetItemState( nWhich, false, &pItem ) ) + if( SfxItemState::SET == pItemSet->GetItemState( nWhich, false, &pItem ) ) { sal_uInt16 aWhich = pItem->Which(); if( std::find(aColAttrs.begin(), aColAttrs.end(), aWhich) != aColAttrs.end() ) |