summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-11-09 09:50:11 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-11-09 09:50:11 +0000
commit859f2f0d40aa56515d93c69655826e1c9637d62a (patch)
treeb4a13342b6cb03c7663db1bfc13697ce3fca51af /idlc
parenta53f71eff497a2bb4ee796deb0e4a49ebd8a7c53 (diff)
#94545# dump optional flag for servicemembers into the registry
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astdump.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index 784293305ef6..8ed022942b40 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astdump.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jsc $ $Date: 2001-08-30 07:22:03 $
+ * last change: $Author: jsc $ $Date: 2001-11-09 10:50:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -326,9 +326,10 @@ sal_Bool AstService::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
case NT_service_member:
{
AstServiceMember* pServMember = (AstServiceMember*)pDecl;
+ sal_uInt16 access = (pServMember->isOptional() ? RT_ACCESS_OPTIONAL : RT_ACCESS_INVALID);
aBlob.setReferenceData(referenceIndex++,
OStringToOUString( pServMember->getRealService()->getRelativName(), RTL_TEXTENCODING_UTF8),
- RT_REF_EXPORTS, pServMember->getDocumentation());
+ RT_REF_EXPORTS, pServMember->getDocumentation(), access);
}
break;
case NT_observes: