diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 14:55:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:11 +0200 |
commit | e2931bce34a274167da52792d07b19743d488aa0 (patch) | |
tree | 94935326a3b5753335ff507463393db63a325c6e /idlc | |
parent | 0833143c271ae444ca83ec16923db9f403f98b86 (diff) |
convert RTMethodMode to scoped enum
Change-Id: I81599570698eb92abf14fa6386d8545c2031e863
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astdump.cxx | 6 | ||||
-rw-r--r-- | idlc/source/astoperation.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
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) { |