summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/document10.cxx2
-rw-r--r--sw/source/core/doc/docfmt.cxx2
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() )