summaryrefslogtreecommitdiff
path: root/idlc/source/idlc.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/idlc.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/idlc.cxx')
-rw-r--r--idlc/source/idlc.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 895a54554ff6..2fd29096a5ee 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -132,7 +132,7 @@ static void SAL_CALL predefineXInterface(AstModule* pRoot)
pParentScope->addDeclaration(pInterface);
// define XInterface::queryInterface
- AstOperation* pOp = new AstOperation(0, (AstType*)(pRoot->lookupPrimitiveType(ET_any)),
+ AstOperation* pOp = new AstOperation((AstType*)(pRoot->lookupPrimitiveType(ET_any)),
OString("queryInterface"), pInterface);
AstParameter* pParam = new AstParameter(DIR_IN, false,
(AstType*)(pRoot->lookupPrimitiveType(ET_type)),
@@ -141,13 +141,13 @@ static void SAL_CALL predefineXInterface(AstModule* pRoot)
pInterface->addMember(pOp);
// define XInterface::acquire
- pOp = new AstOperation(1, (AstType*)(pRoot->lookupPrimitiveType(ET_void)),
- OString("acquire"), pInterface);
+ pOp = new AstOperation((AstType*)(pRoot->lookupPrimitiveType(ET_void)),
+ OString("acquire"), pInterface);
pInterface->addMember(pOp);
// define XInterface::release
- pOp = new AstOperation(1, (AstType*)(pRoot->lookupPrimitiveType(ET_void)),
- OString("release"), pInterface);
+ pOp = new AstOperation((AstType*)(pRoot->lookupPrimitiveType(ET_void)),
+ OString("release"), pInterface);
pInterface->addMember(pOp);
}