From e2931bce34a274167da52792d07b19743d488aa0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Apr 2015 14:55:43 +0200 Subject: convert RTMethodMode to scoped enum Change-Id: I81599570698eb92abf14fa6386d8545c2031e863 --- idlc/source/astdump.cxx | 6 +++--- idlc/source/astoperation.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'idlc/source') diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index c8691972b486..f970f6c7bc9c 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -302,7 +302,7 @@ bool AstService::dump(RegistryKey& rKey) } if (m_defaultConstructor) { writer.setMethodData( - constructorIndex++, emptyStr, RT_MODE_TWOWAY, + constructorIndex++, emptyStr, RTMethodMode::TWOWAY, emptyStr, OUString("void"), 0, 0); } @@ -374,10 +374,10 @@ bool AstAttribute::dumpBlob( OStringToOUString(getType()->getRelativName(), RTL_TEXTENCODING_UTF8), RTConstValue()); dumpExceptions( - rBlob, m_getDocumentation, m_getExceptions, RT_MODE_ATTRIBUTE_GET, + rBlob, m_getDocumentation, m_getExceptions, RTMethodMode::ATTRIBUTE_GET, methodIndex); dumpExceptions( - rBlob, m_setDocumentation, m_setExceptions, RT_MODE_ATTRIBUTE_SET, + rBlob, m_setDocumentation, m_setExceptions, RTMethodMode::ATTRIBUTE_SET, methodIndex); return true; diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx index ce67313a8632..6e9f6753a064 100644 --- a/idlc/source/astoperation.cxx +++ b/idlc/source/astoperation.cxx @@ -42,7 +42,7 @@ bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) { sal_uInt16 nParam = getNodeCount(NT_parameter); sal_uInt16 nExcep = nExceptions(); - RTMethodMode methodMode = RT_MODE_TWOWAY; + RTMethodMode methodMode = RTMethodMode::TWOWAY; OUString returnTypeName; if (m_pReturnType == 0) { -- cgit