summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-11-18 15:51:28 +0000
committerKurt Zenker <kz@openoffice.org>2003-11-18 15:51:28 +0000
commit5cf0b2d5f5725ff0b0dc895b77d224afdeffa86a (patch)
treebeba201b02e4627db7ba9e0512d7199c5c01e710
parente8640770fe9b955d59413e21c2b19a43d91aace9 (diff)
INTEGRATION: CWS scriptingf1 (1.2.356); FILE MERGED
2003/10/28 15:29:42 dfoster 1.2.356.2: #i21612# Fixing error in previous commit. 2003/10/28 10:15:14 dfoster 1.2.356.1: #i21612# Added support for returning Script from GetLanguage() call for SvxMacro when type is EXTENDED_STYPE. Commited by dfoster for npower.
-rw-r--r--svtools/source/items/macitem.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/svtools/source/items/macitem.cxx b/svtools/source/items/macitem.cxx
index 1afa2bbf2dc5..a3982d3e95d1 100644
--- a/svtools/source/items/macitem.cxx
+++ b/svtools/source/items/macitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: macitem.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: er $ $Date: 2001-05-13 03:25:57 $
+ * last change: $Author: kz $ $Date: 2003-11-18 16:51:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -116,7 +116,12 @@ String SvxMacro::GetLanguage()const
return UniString::CreateFromAscii(
RTL_CONSTASCII_STRINGPARAM(SVX_MACRO_LANGUAGE_JAVASCRIPT));
}
+ else if(eType==EXTENDED_STYPE)
+ {
+ return UniString::CreateFromAscii(
+ RTL_CONSTASCII_STRINGPARAM(SVX_MACRO_LANGUAGE_SF));
+ }
return aLibName;
}