summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 15:36:06 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 08:41:11 +0200
commit68b35c75588f5702a142c8232d5e805bfe276c72 (patch)
tree9574ddac4d603715b04bed6c1c470d419b6b7a64 /idlc
parente2931bce34a274167da52792d07b19743d488aa0 (diff)
convert RTReferenceType to scoped enum
Change-Id: I8320f6f42d5579fbd09450ddca61c4c066de98e4
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astdump.cxx8
-rw-r--r--idlc/source/astinterface.cxx2
-rw-r--r--idlc/source/aststruct.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index f970f6c7bc9c..b4dfa84df65a 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -257,7 +257,7 @@ bool AstService::dump(RegistryKey& rKey)
{
AstInterfaceMember * decl = static_cast<AstInterfaceMember *>(*i);
writer.setReferenceData(
- referenceIndex++, decl->getDocumentation(), RT_REF_SUPPORTS,
+ referenceIndex++, decl->getDocumentation(), RTReferenceType::SUPPORTS,
(decl->isOptional() ? RTFieldAccess::OPTIONAL : RTFieldAccess::INVALID),
OStringToOUString( decl->getRealInterface()->getRelativName(),
RTL_TEXTENCODING_UTF8));
@@ -268,7 +268,7 @@ bool AstService::dump(RegistryKey& rKey)
if (getNodeType() == NT_service)
{
AstServiceMember * decl = static_cast<AstServiceMember *>(*i);
- writer.setReferenceData(referenceIndex++, decl->getDocumentation(), RT_REF_EXPORTS,
+ writer.setReferenceData(referenceIndex++, decl->getDocumentation(), RTReferenceType::EXPORTS,
(decl->isOptional() ? RTFieldAccess::OPTIONAL : RTFieldAccess::INVALID),
OStringToOUString(decl->getRealService()->getRelativName(),
RTL_TEXTENCODING_UTF8));
@@ -278,7 +278,7 @@ bool AstService::dump(RegistryKey& rKey)
case NT_observes:
{
AstObserves * decl = static_cast<AstObserves *>(*i);
- writer.setReferenceData(referenceIndex++, decl->getDocumentation(), RT_REF_OBSERVES,
+ writer.setReferenceData(referenceIndex++, decl->getDocumentation(), RTReferenceType::OBSERVES,
RTFieldAccess::INVALID,
OStringToOUString( decl->getRealInterface()->getRelativName(),
RTL_TEXTENCODING_UTF8));
@@ -288,7 +288,7 @@ bool AstService::dump(RegistryKey& rKey)
case NT_needs:
{
AstNeeds * decl = static_cast<AstNeeds *>(*i);
- writer.setReferenceData( referenceIndex++, decl->getDocumentation(), RT_REF_NEEDS,
+ writer.setReferenceData( referenceIndex++, decl->getDocumentation(), RTReferenceType::NEEDS,
RTFieldAccess::INVALID,
OStringToOUString( decl->getRealService()->getRelativName(),
RTL_TEXTENCODING_UTF8));
diff --git a/idlc/source/astinterface.cxx b/idlc/source/astinterface.cxx
index 5941fa3e64d9..97d8f020170c 100644
--- a/idlc/source/astinterface.cxx
+++ b/idlc/source/astinterface.cxx
@@ -206,7 +206,7 @@ bool AstInterface::dump(RegistryKey& rKey)
{
if (i->isOptional()) {
aBlob.setReferenceData(
- referenceIndex++, i->getDocumentation(), RT_REF_SUPPORTS,
+ referenceIndex++, i->getDocumentation(), RTReferenceType::SUPPORTS,
RTFieldAccess::OPTIONAL,
OStringToOUString(
i->getInterface()->getRelativName(),
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 49831731e97d..d2232990e615 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -153,7 +153,7 @@ bool AstStruct::dump(RegistryKey& rKey)
i != m_typeParameters.end(); ++i)
{
aBlob.setReferenceData(
- index++, emptyStr, RT_REF_TYPE_PARAMETER, RTFieldAccess::INVALID,
+ index++, emptyStr, RTReferenceType::TYPE_PARAMETER, RTFieldAccess::INVALID,
OStringToOUString(
(*i)->getLocalName(), RTL_TEXTENCODING_UTF8));
}