summaryrefslogtreecommitdiff
path: root/idlc/source/astoperation.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 21:27:57 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-30 14:36:35 +0100
commit90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (patch)
tree1e02834a1b94bc06168b50b95590ee547a574927 /idlc/source/astoperation.cxx
parent28315fb6a40dd0f43990272b11037f60d26afda7 (diff)
API CHANGE remove [oneway] method attributes
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
Diffstat (limited to 'idlc/source/astoperation.cxx')
-rw-r--r--idlc/source/astoperation.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx
index 1f02196a1bf6..f1d11174a057 100644
--- a/idlc/source/astoperation.cxx
+++ b/idlc/source/astoperation.cxx
@@ -30,9 +30,6 @@ using namespace ::rtl;
void AstOperation::setExceptions(DeclList const * pExceptions)
{
if (pExceptions != 0) {
- if (isOneway()) {
- idlc()->error()->error1(EIDL_ONEWAY_RAISE_CONFLICT, this);
- }
m_exceptions = *pExceptions;
}
}
@@ -49,9 +46,6 @@ sal_Bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index)
sal_uInt16 nExcep = nExceptions();
RTMethodMode methodMode = RT_MODE_TWOWAY;
- if ( isOneway() )
- methodMode = RT_MODE_ONEWAY;
-
rtl::OUString returnTypeName;
if (m_pReturnType == 0) {
returnTypeName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("void"));
@@ -129,16 +123,6 @@ sal_Bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index)
AstDeclaration* AstOperation::addDeclaration(AstDeclaration* pDecl)
{
- if ( pDecl->getNodeType() == NT_parameter )
- {
- AstParameter* pParam = (AstParameter*)pDecl;
- if ( isOneway() &&
- (pParam->getDirection() == DIR_OUT || pParam->getDirection() == DIR_INOUT) )
- {
- idlc()->error()->error2(EIDL_ONEWAY_CONFLICT, pDecl, this);
- return NULL;
- }
- }
return AstScope::addDeclaration(pDecl);
}