summaryrefslogtreecommitdiff
path: root/idlc/inc
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/inc
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/inc')
-rw-r--r--idlc/inc/idlc/astoperation.hxx8
-rw-r--r--idlc/inc/idlc/idlctypes.hxx2
2 files changed, 1 insertions, 9 deletions
diff --git a/idlc/inc/idlc/astoperation.hxx b/idlc/inc/idlc/astoperation.hxx
index c8d406189b88..304113c9a495 100644
--- a/idlc/inc/idlc/astoperation.hxx
+++ b/idlc/inc/idlc/astoperation.hxx
@@ -25,7 +25,6 @@
namespace typereg { class Writer; }
#define OP_NONE 0x0000
-#define OP_ONEWAY 0x0001
class AstType;
@@ -33,17 +32,13 @@ class AstOperation : public AstDeclaration
, public AstScope
{
public:
- AstOperation(sal_uInt32 flags, AstType* pReturnType, const ::rtl::OString& name, AstScope* pScope)
+ AstOperation(AstType* pReturnType, const ::rtl::OString& name, AstScope* pScope)
: AstDeclaration(NT_operation, name, pScope)
, AstScope(NT_operation)
- , m_flags(flags)
, m_pReturnType(pReturnType)
{}
virtual ~AstOperation() {}
- sal_Bool isOneway()
- { return ((m_flags & OP_ONEWAY) == OP_ONEWAY); }
-
bool isVariadic() const;
bool isConstructor() const { return m_pReturnType == 0; }
@@ -59,7 +54,6 @@ public:
// scope management
virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
private:
- sal_uInt32 m_flags;
AstType* m_pReturnType;
DeclList m_exceptions;
};
diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx
index 4fd174f29f8c..3c9568cff891 100644
--- a/idlc/inc/idlc/idlctypes.hxx
+++ b/idlc/inc/idlc/idlctypes.hxx
@@ -235,7 +235,6 @@ enum ParseState
PS_ExceptQsSeen, // Seen '}' for exception
PS_ExceptBodySeen, // Seen complete exception body
- PS_OpHeadSeen, // Seen the operation head
PS_OpTypeSeen, // Seen operation return type
PS_OpIDSeen, // Seen operation ID
PS_OpParsCompleted, // Completed operation param list
@@ -246,7 +245,6 @@ enum ParseState
PS_OpParDirSeen, // Seen parameter direction
PS_OpParTypeSeen, // Seen parameter type
PS_OpParDeclSeen, // Seen parameter declaration
- PS_OpOnewaySeen, // Seen ONEWAY keyword
PS_RaiseSeen, // Seen RAISES keyword
PS_RaiseSqSeen, // Seen '(' for RAISES