diff options
author | Noel Power <nopower@suse.com> | 2011-09-21 14:42:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-21 14:42:05 +0100 |
commit | 0f5a2ad6aca673c43abb7228df9e80e2eac3c372 (patch) | |
tree | 907e6441c64619ce2d5bc4fd02999a4e934c9885 | |
parent | 299ada910665c38cc9ccd7a20fb54f8b15229f8c (diff) |
fdo#37164 get testtool working
-rw-r--r-- | basic/source/classes/sb.cxx | 3 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.src | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 454108938d..f9cbab6779 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -478,6 +478,9 @@ SbxBase* SbFormFactory::Create( sal_uInt16, sal_uInt32 ) SbxObject* SbFormFactory::CreateObject( const String& rClassName ) { + if ( !SbiRuntime::isVBAEnabled() ) + return NULL; + if( SbModule* pMod = pMOD ) { if( SbxVariable* pVar = pMod->Find( rClassName, SbxCLASS_OBJECT ) ) diff --git a/fpicker/source/office/iodlg.src b/fpicker/source/office/iodlg.src index 4a3c2f6736..d966faa0ec 100644 --- a/fpicker/source/office/iodlg.src +++ b/fpicker/source/office/iodlg.src @@ -92,7 +92,7 @@ ModalDialog DLG_SVT_EXPLORERFILE }; QuickHelpText [ en-US ] = "List"; }; - HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_DETAILSVIEW"; + MenuButton BTN_EXPLORERFILE_UP { HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_UP"; |