diff options
author | Matteo Casalin <matteo.casalin@gmx.com> | 2012-02-19 23:17:51 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@gmx.com> | 2012-03-03 09:49:34 +0100 |
commit | 8d4ab7fd776f8709dab9786951a560c9c59c3ba7 (patch) | |
tree | 49b95a4bc887f5fccafac31bc1b3600991ad26ed /svtools/source/control/valueacc.cxx | |
parent | 1cc064f1a414446791903bb84c9f166cd3185e14 (diff) |
ValueSet: remove redundant check
Diffstat (limited to 'svtools/source/control/valueacc.cxx')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 4 |
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 ); } } |