summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2010-09-15 15:07:53 +0200
committerAndreas Bregas <ab@openoffice.org>2010-09-15 15:07:53 +0200
commit1a765f1c8c9bfab0b6fddb8295e16a67795d2b25 (patch)
treed9dda057fdeae8e80fbc7ea1e64b16bb600fb66d /basctl
parent552bfda9f091e8703f5e1690e55203747679c6f5 (diff)
mib19: #163639# IDE call stack: Don't try to display objects as string
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index b6b4accb7dd6..53c27296cd63 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1636,9 +1636,10 @@ void __EXPORT StackWindow::UpdateCalls()
aEntry += pParam->aName;
}
aEntry += '=';
- if( pVar->GetType() & SbxARRAY )
+ SbxDataType eType = pVar->GetType();
+ if( eType & SbxARRAY )
aEntry += String( RTL_CONSTASCII_USTRINGPARAM( "..." ) );
- else
+ else if( eType != SbxOBJECT )
aEntry += pVar->GetString();
if ( nParam < ( pParams->Count() - 1 ) )
aEntry += String( RTL_CONSTASCII_USTRINGPARAM( ", " ) );