summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-05-28 16:13:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-29 10:43:24 +0200
commit4b373ef7f5fecc9a90e0e3cb90f297bc1101afef (patch)
tree5639a885ec06e815c0e4862367116f84595e8479 /idlc
parent14e163b0caf97addf340aefc5760a9031ec98390 (diff)
fdo#60724 change spelling error REMOVEABLE -> REMOVABLE II
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/astattribute.hxx2
-rw-r--r--idlc/inc/idlc/idlctypes.hxx2
-rw-r--r--idlc/source/astdump.cxx2
-rw-r--r--idlc/source/errorhandler.cxx2
-rw-r--r--idlc/source/parser.y6
-rw-r--r--idlc/source/scanner.l2
-rw-r--r--idlc/test/parser/attribute.tests2
7 files changed, 9 insertions, 9 deletions
diff --git a/idlc/inc/idlc/astattribute.hxx b/idlc/inc/idlc/astattribute.hxx
index 7f88e49ffa03..7cc3a65226b1 100644
--- a/idlc/inc/idlc/astattribute.hxx
+++ b/idlc/inc/idlc/astattribute.hxx
@@ -90,7 +90,7 @@ public:
sal_Bool isMayBeDefault() const
{ return ((m_flags & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT); }
sal_Bool isRemoveable() const
- { return ((m_flags & AF_REMOVEABLE) == AF_REMOVEABLE); }
+ { return ((m_flags & AF_REMOVABLE) == AF_REMOVABLE); }
sal_Bool dumpBlob(
typereg::Writer & rBlob, sal_uInt16 index, sal_uInt16 * methodIndex);
diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx
index 32214d6b77d3..842ef68e11cf 100644
--- a/idlc/inc/idlc/idlctypes.hxx
+++ b/idlc/inc/idlc/idlctypes.hxx
@@ -87,7 +87,7 @@ AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);
#define AF_TRANSIENT 0x0020
#define AF_MAYBEAMBIGUOUS 0x0040
#define AF_MAYBEDEFAULT 0x0080
-#define AF_REMOVEABLE 0x0100
+#define AF_REMOVABLE 0x0100
#define AF_ATTRIBUTE 0x0200
#define AF_PROPERTY 0x0400
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index fd5e2db43c01..492714c2231e 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -366,7 +366,7 @@ sal_Bool AstAttribute::dumpBlob(
}
if (isRemoveable())
{
- accessMode |= RT_ACCESS_REMOVEABLE;
+ accessMode |= RT_ACCESS_REMOVABLE;
}
OUString name(OStringToOUString(getLocalName(), RTL_TEXTENCODING_UTF8));
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 390d76e8e57d..f591f0b04dcd 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -456,7 +456,7 @@ static OString flagToString(sal_uInt32 flag)
flagStr += "'maybeambiguous'";
if ( (flag & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT )
flagStr += "'maybedefault'";
- if ( (flag & AF_REMOVEABLE) == AF_REMOVEABLE )
+ if ( (flag & AF_REMOVABLE) == AF_REMOVABLE )
flagStr += "'removable'";
if ( (flag & AF_ATTRIBUTE) == AF_ATTRIBUTE )
flagStr += "'attribute'";
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 528bc966cd5a..7bfdea21e380 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -271,7 +271,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) {
%token IDL_PROPERTY
%token IDL_RAISES
%token IDL_READONLY
-%token IDL_REMOVEABLE
+%token IDL_REMOVABLE
%token IDL_SERVICE
%token IDL_SEQUENCE
%token IDL_SINGLETON
@@ -848,10 +848,10 @@ opt_attrflag :
idlc()->setParseState(PS_MayBeDefaultSeen);
$$ = AF_MAYBEDEFAULT;
}
- | IDL_REMOVEABLE
+ | IDL_REMOVABLE
{
idlc()->setParseState(PS_RemoveableSeen);
- $$ = AF_REMOVEABLE;
+ $$ = AF_REMOVABLE;
}
| error ']'
{
diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l
index 51204b8ade46..d13160eb46c0 100644
--- a/idlc/source/scanner.l
+++ b/idlc/source/scanner.l
@@ -307,7 +307,7 @@ optional return IDL_OPTIONAL;
property return IDL_PROPERTY;
raises return IDL_RAISES;
readonly return IDL_READONLY;
-removable return IDL_REMOVEABLE;
+removable return IDL_REMOVABLE;
service return IDL_SERVICE;
sequence return IDL_SEQUENCE;
singleton return IDL_SINGLETON;
diff --git a/idlc/test/parser/attribute.tests b/idlc/test/parser/attribute.tests
index 1e9b28d6d54a..bc6753f4554c 100644
--- a/idlc/test/parser/attribute.tests
+++ b/idlc/test/parser/attribute.tests
@@ -194,7 +194,7 @@ interface I1 {
EXPECT FAILURE "attribute.tests 23":
interface I1 {
- [attribute, removeable] long a;
+ [attribute, removable] long a;
};