diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-11-18 15:50:17 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-11-18 15:50:17 +0000 |
commit | 8af6395b19203bb50377e1b67ced69b139f750f3 (patch) | |
tree | e89eed5796997d0d10d18e1a94bd0789d2dafcfe /extensions/source/propctrlr/formcontroller.cxx | |
parent | 415f44932f30927540c6d8ef52771e4b89bc710e (diff) |
INTEGRATION: CWS scriptingf1 (1.54.104); FILE MERGED
2003/10/31 17:26:32 dfoster 1.54.104.2: RESYNC: (1.54-1.55); FILE MERGED
2003/10/09 14:33:31 dfoster 1.54.104.1: #i19262# - support scripting framework scripts for forms
Diffstat (limited to 'extensions/source/propctrlr/formcontroller.cxx')
-rw-r--r-- | extensions/source/propctrlr/formcontroller.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx index bfde951a7d50..50527de9f9ff 100644 --- a/extensions/source/propctrlr/formcontroller.cxx +++ b/extensions/source/propctrlr/formcontroller.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formcontroller.cxx,v $ * - * $Revision: 1.55 $ + * $Revision: 1.56 $ * - * last change: $Author: obo $ $Date: 2003-10-21 09:04:59 $ + * last change: $Author: kz $ $Date: 2003-11-18 16:50:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1510,11 +1510,13 @@ namespace pcr { // Dialog editor mode pWriteScriptEvents->ListenerType = aListener; } + if ( pMacro->GetLanguage().EqualsAscii("StarBasic") ) + { + sal_Bool bApplicationMacro = pMacro->GetLibName().EqualsAscii("StarOffice"); - sal_Bool bApplicationMacro = pMacro->GetLibName().EqualsAscii("StarOffice"); - - sScriptCode = ::rtl::OUString::createFromAscii( bApplicationMacro ? "application:" : "document:" ); - sScriptCode += pMacro->GetMacName(); + sScriptCode = ::rtl::OUString::createFromAscii( bApplicationMacro ? "application:" : "document:" ); + sScriptCode += pMacro->GetMacName(); + } pWriteScriptEvents->ScriptCode = sScriptCode; pWriteScriptEvents->EventMethod = *pMethods; |