summaryrefslogtreecommitdiff
path: root/idlc/source/astenum.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-01-31 14:45:05 +0000
committerRüdiger Timm <rt@openoffice.org>2005-01-31 14:45:05 +0000
commit5eb5804b7bd5bec8969029b435e9a4f8bf39b792 (patch)
treeeb90652998dfbea98687779bb141c930e8ef88f2 /idlc/source/astenum.cxx
parent90d8cd688a04b921c52e0cefe353141795da33ed (diff)
INTEGRATION: CWS sdksample (1.5.18); FILE MERGED
2004/11/26 16:17:01 jsc 1.5.18.2: #i29966# remove to optimistic API change 2004/10/27 15:59:30 jsc 1.5.18.1: #i29966# remove filename related APIs
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r--idlc/source/astenum.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index 21b55746e075..6b8f72e33740 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astenum.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2004-06-03 15:07:46 $
+ * last change: $Author: rt $ $Date: 2005-01-31 15:45:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -113,14 +113,13 @@ sal_Bool AstEnum::dump(RegistryKey& rKey)
return sal_False;
}
+ OUString emptyStr;
sal_uInt16 nConst = getNodeCount(NT_enum_val);
if ( nConst > 0 )
{
typereg::Writer aBlob(
m_bPublished ? TYPEREG_VERSION_1 : TYPEREG_VERSION_0,
- getDocumentation(),
- OStringToOUString(getFileName(), RTL_TEXTENCODING_UTF8),
- RT_TYPE_ENUM, m_bPublished,
+ getDocumentation(), emptyStr, RT_TYPE_ENUM, m_bPublished,
OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), 0,
nConst, 0, 0);
@@ -140,7 +139,7 @@ sal_Bool AstEnum::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(OUString(), RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
(RegValue)pBlob, aBlobSize))
{
fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",