summaryrefslogtreecommitdiff
path: root/svtools/source/control/valueacc.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@gmx.com>2012-02-19 23:17:51 +0100
committerMatteo Casalin <matteo.casalin@gmx.com>2012-03-03 09:49:34 +0100
commit8d4ab7fd776f8709dab9786951a560c9c59c3ba7 (patch)
tree49b95a4bc887f5fccafac31bc1b3600991ad26ed /svtools/source/control/valueacc.cxx
parent1cc064f1a414446791903bb84c9f166cd3185e14 (diff)
ValueSet: remove redundant check
Diffstat (limited to 'svtools/source/control/valueacc.cxx')
-rw-r--r--svtools/source/control/valueacc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index f4405f815701..7c73a8ce043e 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -443,9 +443,7 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ValueSetAcc::getAccessible
if( VALUESET_ITEM_NONEITEM != nItemPos )
{
ValueSetItem *const pItem = mpParent->mItemList[nItemPos];
-
- if( !pItem->maRect.IsEmpty() )
- xRet = pItem->GetAccessible( mbIsTransientChildrenDisabled );
+ xRet = pItem->GetAccessible( mbIsTransientChildrenDisabled );
}
}