summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-06 17:51:12 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-06 17:51:12 +0000
commitec658f8fe4d5c40f47d4de71775a4d4640229ff7 (patch)
tree3b6970386618c00978359c0201b34d7a16b23edf /basic/inc
parent3bdf171c8f649308cc93264ddca61cbde1c22467 (diff)
INTEGRATION: CWS odbmacros2 (1.3.28); FILE MERGED
2007/12/19 14:47:48 fs 1.3.28.2: #i49133# *GlobalUNOConstant consolidated into SetGlobalUNOConstant 2007/12/12 12:20:17 fs 1.3.28.1: #i49133# Re/SetGlobalUNOConstant
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/basmgr.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx
index 691515d4ec39..091a83041198 100644
--- a/basic/inc/basic/basmgr.hxx
+++ b/basic/inc/basic/basmgr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: basmgr.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2007-08-30 09:58:03 $
+ * last change: $Author: kz $ $Date: 2008-03-06 18:51:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -240,9 +240,13 @@ public:
BasicError* GetFirstError();
BasicError* GetNextError();
- /** inserts a global constant into the basic library, referring to some UNO object
+ /** sets a global constant in the basic library, referring to some UNO object, to a new value.
+
+ If a constant with this name already existed before, its value is changed, and the old constant is
+ returned. If it does not yet exist, it is newly created, and inserted into the basic library.
*/
- void InsertGlobalUNOConstant( const sal_Char* _pAsciiName, const ::com::sun::star::uno::Any& _rValue );
+ ::com::sun::star::uno::Any
+ SetGlobalUNOConstant( const sal_Char* _pAsciiName, const ::com::sun::star::uno::Any& _rValue );
/** determines whether there are password-protected modules whose size exceedes the
legacy module size