summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-27 14:02:40 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-27 14:02:40 +0200
commit4f8ed0b4cb055043fc44041e98a836c228b885ae (patch)
tree80b35595d847f44df217631c185af6dab2e821a4 /automation
parent87c5e26936baf52d878c342f8724bca2c03090d9 (diff)
automation-testtool-oobuildfix.diff: testtool and basic compatability defaults
testtool doesn't like some basic compatability defaults (bnc#145906)
Diffstat (limited to 'automation')
-rw-r--r--automation/source/testtool/objtest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index e08dd7c5faeb..63d8291b2310 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -2695,7 +2695,8 @@ void TestToolObj::DebugFindNoErrors( sal_Bool bDebugFindNoErrors )
SbxVariable* TestToolObj::Find( const String& aStr, SbxClassType aType)
{
- if ( BasicRuntimeAccess::IsRunInit() ) // wegen Find im "Global" Befehl des Basic
+ if ( BasicRuntimeAccess::IsRunInit()
+ || ( aStr == String( RTL_CONSTASCII_USTRINGPARAM( "ThisComponent" ) ) ) ) // wegen Find im "Global" Befehl des Basic
return NULL;
SbxVariableRef Old = SbxObject::Find(aStr, aType );