Kaydet (Commit) 10fee3d3 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

SFX_ITEM_SET to SfxItemState::SET

Change-Id: I95dc8872d702cbe63d5fdab10a9ddd0e86d49e06
üst 93c4e3c9
......@@ -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() )
......
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment