summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-31 14:46:10 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-31 14:46:10 +0000
commitb30e7ddaa500c1e21e59ccb0bbc8bdd734c828a3 (patch)
tree90cd769079e6c52e0c8c6c0f5252827256f31a3a
parent922d6f3ec73e3f7ca589eff280add7055de8fd5e (diff)
INTEGRATION: CWS sdksample (1.5.18); FILE MERGED
2004/11/26 16:17:02 jsc 1.5.18.2: #i29966# remove to optimistic API change 2004/10/27 15:59:31 jsc 1.5.18.1: #i29966# remove filename related APIs
-rw-r--r--idlc/source/astunion.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/idlc/source/astunion.cxx b/idlc/source/astunion.cxx
index bc2d6ecfe..2678358c5 100644
--- a/idlc/source/astunion.cxx
+++ b/idlc/source/astunion.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astunion.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2004-06-03 15:09:35 $
+ * last change: $Author: rt $ $Date: 2005-01-31 15:46:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -321,9 +321,9 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
sal_uInt16 nMember = getNodeCount(NT_union_branch);
+ OUString emptyStr;
typereg::Writer aBlob(
- TYPEREG_VERSION_0, getDocumentation(),
- OStringToOUString(getFileName(), RTL_TEXTENCODING_UTF8), RT_TYPE_UNION,
+ TYPEREG_VERSION_0, getDocumentation(), emptyStr, RT_TYPE_UNION,
false, OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), 1,
nMember, 0, 0);
aBlob.setSuperTypeName(
@@ -368,8 +368,7 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
disc = aConst.m_value.aHyper;
aBlob.setFieldData(
- index++, pBranch->getDocumentation(), OUString(),
- RT_ACCESS_READWRITE,
+ index++, pBranch->getDocumentation(), emptyStr, RT_ACCESS_READWRITE,
OStringToOUString(
pBranch->getLocalName(), RTL_TEXTENCODING_UTF8),
OStringToOUString(
@@ -386,7 +385,7 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
aConst.m_type = RT_TYPE_INT64;
aConst.m_value.aHyper = disc + 1;
aBlob.setFieldData(
- 0, pDefault->getDocumentation(), OUString(), RT_ACCESS_DEFAULT,
+ 0, pDefault->getDocumentation(), emptyStr, RT_ACCESS_DEFAULT,
OStringToOUString(
pDefault->getLocalName(), RTL_TEXTENCODING_UTF8),
OStringToOUString(