diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |