summaryrefslogtreecommitdiff
path: root/idlc/source/astoperation.cxx
diff options
context:
space:
mode:
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);
}