diff options
author | Tsutomu Uchino <hanya@apache.org> | 2015-01-12 14:39:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-12 20:21:35 +0000 |
commit | 15d2655fb68254f39c59b97a7ca7713d12b0f1fa (patch) | |
tree | 6e177acdd20c97077040674778baa0c6c7fd72df /basctl | |
parent | e71668c4e642cc497206bfbe7191f64bddf31db0 (diff) |
Resolves: #i120772# do not ignore last three properties...
when special properties not found in watching window
(cherry picked from commit 8815f3f3fbb3632cccbbf8476f4c40c9bda8eb6e)
Conflicts:
basctl/source/basicide/baside2b.cxx
Change-Id: I6069d55b9f894846a7b4d81b981cf4523b444753
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index be7e74034826..31721b1c540c 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2162,9 +2162,16 @@ void WatchTreeListBox::RequestingChildren( SvTreeListEntry * pParent ) createAllObjectProperties( pObj ); SbxArray* pProps = pObj->GetProperties(); sal_uInt16 nPropCount = pProps->Count(); + if ( nPropCount >= 3 && + pProps->Get( nPropCount -1 )->GetName().equalsIgnoreAsciiCase( "Dbg_Methods" ) && + pProps->Get( nPropCount -2 )->GetName().equalsIgnoreAsciiCase( "Dbg_Properties" ) && + pProps->Get( nPropCount -3 )->GetName().equalsIgnoreAsciiCase( "Dbg_SupportedInterfaces" ) ) + { + nPropCount -= 3; + } pItem->maMemberList.reserve(nPropCount); - for( sal_uInt16 i = 0 ; i < nPropCount - 3 ; i++ ) + for( sal_uInt16 i = 0 ; i < nPropCount ; ++i ) { SbxVariable* pVar = pProps->Get( i ); |