summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-03 14:07:46 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-03 14:07:46 +0000
commita0922f62b581af2923d7ff59e4143e1028a2279a (patch)
treec29b34d44fe39e813005330b71427114d333f303 /idlc
parent313bcaaa35769b4dd160f3f8e97689de870843eb (diff)
INTEGRATION: CWS sb18 (1.4.4); FILE MERGED
2004/05/18 15:36:49 sb 1.4.4.1: #i21150# Added new feature: published.
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astenum.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index 535ec303538d..21b55746e075 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astenum.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:45:15 $
+ * last change: $Author: obo $ $Date: 2004-06-03 15:07:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -117,9 +117,10 @@ sal_Bool AstEnum::dump(RegistryKey& rKey)
if ( nConst > 0 )
{
typereg::Writer aBlob(
- TYPEREG_VERSION_0, getDocumentation(),
+ m_bPublished ? TYPEREG_VERSION_1 : TYPEREG_VERSION_0,
+ getDocumentation(),
OStringToOUString(getFileName(), RTL_TEXTENCODING_UTF8),
- RT_TYPE_ENUM,
+ RT_TYPE_ENUM, m_bPublished,
OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), 0,
nConst, 0, 0);
@@ -131,7 +132,7 @@ sal_Bool AstEnum::dump(RegistryKey& rKey)
{
pDecl = *iter;
if ( pDecl->getNodeType() == NT_enum_val )
- ((AstConstant*)pDecl)->dumpBlob(aBlob, index++);
+ ((AstConstant*)pDecl)->dumpBlob(aBlob, index++, false);
++iter;
}