diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:06:56 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-03 14:06:56 +0000 |
commit | fe08290b99f908d3000e3f2082de13501582d53a (patch) | |
tree | 1c38d340b56634579151982add4c95caffa14b33 /idlc/source/astconstant.cxx | |
parent | da8cd037cc4ddec6d6cfb7040e76e95cd926c8ce (diff) |
INTEGRATION: CWS sb18 (1.4.4); FILE MERGED
2004/05/18 15:36:48 sb 1.4.4.1: #i21150# Added new feature: published.
Diffstat (limited to 'idlc/source/astconstant.cxx')
-rw-r--r-- | idlc/source/astconstant.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx index 0a7bc2b87cc2..a2d05e52b6f1 100644 --- a/idlc/source/astconstant.cxx +++ b/idlc/source/astconstant.cxx @@ -2,9 +2,9 @@ * * $RCSfile: astconstant.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-03-30 16:44:23 $ + * last change: $Author: obo $ $Date: 2004-06-03 15:06:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,7 +95,8 @@ AstConstant::~AstConstant() } -sal_Bool AstConstant::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) +sal_Bool AstConstant::dumpBlob( + typereg::Writer & rBlob, sal_uInt16 index, bool published) { RTConstValue aConst; sal_Unicode* str = NULL; @@ -173,7 +174,8 @@ sal_Bool AstConstant::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) } rBlob.setFieldData( - index, getDocumentation(), fileName, RT_ACCESS_CONST, + index, getDocumentation(), fileName, + RT_ACCESS_CONST | (published ? RT_ACCESS_PUBLISHED : 0), OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, aConst); if (str) delete[] str; |