diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-03-30 15:44:23 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-03-30 15:44:23 +0000 |
commit | 8d67dc0b8057e397f76213efeed7edda7ae2bb85 (patch) | |
tree | 1e01c3cc338f881d68079ec6f69fe645f1cdcd4a /idlc | |
parent | d0f2e717bdbd22f9c769cf8f24a1140160987244 (diff) |
INTEGRATION: CWS sb14 (1.3.96); FILE MERGED
2004/03/15 09:53:55 sb 1.3.96.1: #i21150# Adapted to new extensible type writer interface; added support for bound interface attributes.
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astconstant.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx index d8bdc37e3b85..0a7bc2b87cc2 100644 --- a/idlc/source/astconstant.cxx +++ b/idlc/source/astconstant.cxx @@ -2,9 +2,9 @@ * * $RCSfile: astconstant.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jsc $ $Date: 2001-03-27 10:54:22 $ + * last change: $Author: rt $ $Date: 2004-03-30 16:44:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,8 @@ #include <idlc/astscope.hxx> #endif +#include "registry/writer.hxx" + using namespace ::rtl; AstConstant::AstConstant(const ExprType type, @@ -93,7 +95,7 @@ AstConstant::~AstConstant() } -sal_Bool AstConstant::dumpBlob(RegistryTypeWriter& rBlob, sal_uInt16 index) +sal_Bool AstConstant::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) { RTConstValue aConst; sal_Unicode* str = NULL; @@ -170,8 +172,9 @@ sal_Bool AstConstant::dumpBlob(RegistryTypeWriter& rBlob, sal_uInt16 index) fileName = OStringToOUString(getFileName(), RTL_TEXTENCODING_UTF8); } - rBlob.setFieldData(index, OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, - getDocumentation(), fileName, RT_ACCESS_CONST, aConst); + rBlob.setFieldData( + index, getDocumentation(), fileName, RT_ACCESS_CONST, + OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, aConst); if (str) delete[] str; |