Kaydet (Commit) e4938058 authored tarafından Matteo Casalin's avatar Matteo Casalin

VALUESETITEM_SPACE is never set: remove related code

üst 966a5340
......@@ -444,7 +444,7 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ValueSetAcc::getAccessible
{
ValueSetItem* pItem = (*mpParent->mpImpl->mpItemList)[ nItemPos ];
if( ( pItem->meType != VALUESETITEM_SPACE ) && !pItem->maRect.IsEmpty() )
if( !pItem->maRect.IsEmpty() )
xRet = pItem->GetAccessible( mbIsTransientChildrenDisabled );
}
}
......
......@@ -67,8 +67,7 @@ enum ValueSetItemType
VALUESETITEM_NONE,
VALUESETITEM_IMAGE,
VALUESETITEM_COLOR,
VALUESETITEM_USERDRAW,
VALUESETITEM_SPACE
VALUESETITEM_USERDRAW
};
// ----------------
......
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