[Libreoffice-commits] core.git: Branch 'aoo/trunk' - basctl/source

Tsutomu Uchino hanya at apache.org
Mon Jan 12 08:09:00 PST 2015


 basctl/source/basicide/baside2b.cxx |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 8815f3f3fbb3632cccbbf8476f4c40c9bda8eb6e
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Mon Jan 12 14:39:39 2015 +0000

    #i120772# do not ignore last three properties when special properties not found in watching window

diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index cb6ef05..c6a12da 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1829,9 +1829,16 @@ void WatchTreeListBox::RequestingChilds( SvLBoxEntry * pParent )
         createAllObjectProperties( pObj );
          SbxArray* pProps = pObj->GetProperties();
         sal_uInt16 nPropCount = pProps->Count();
+        if ( nPropCount >= 3 &&
+             pProps->Get( nPropCount -1 )->GetName().EqualsIgnoreCaseAscii( "Dbg_Methods" ) &&
+             pProps->Get( nPropCount -2 )->GetName().EqualsIgnoreCaseAscii( "Dbg_Properties" ) &&
+             pProps->Get( nPropCount -3 )->GetName().EqualsIgnoreCaseAscii( "Dbg_SupportedInterfaces" ) )
+         {
+            nPropCount -= 3;
+         }
         pItem->maMemberList.allocList( nPropCount );
 
-        for( sal_uInt16 i = 0 ; i < nPropCount - 3 ; i++ )
+        for( sal_uInt16 i = 0 ; i < nPropCount ; ++i )
         {
             SbxVariable* pVar = pProps->Get( i );
 


More information about the Libreoffice-commits mailing list