diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-30 15:25:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-30 19:05:48 +0200 |
commit | d902e04bafcf7436c4c05140e82e677cd6bc826f (patch) | |
tree | 0fe1f2f76d11d798711264d56d697ef1cb876bca /basic/source/comp | |
parent | eb582a59f8f4ba9bcb939fd4b134f29099d2539c (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: basic
Change-Id: I1046ee1ea28e19afa51b0e20ee573105ced77535
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97522
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic/source/comp')
-rw-r--r-- | basic/source/comp/buffer.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/exprgen.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/parser.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/token.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx index 80017fcca354..3d8f6623c525 100644 --- a/basic/source/comp/buffer.cxx +++ b/basic/source/comp/buffer.cxx @@ -22,7 +22,7 @@ #include <basic/sberrors.hxx> -const static sal_uInt32 UP_LIMIT=0xFFFFFF00; +const sal_uInt32 UP_LIMIT=0xFFFFFF00; // The SbiBuffer will be expanded in increments of at least 16 Bytes. // This is necessary, because many classes emanate from a buffer length diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index 2baf28a803e3..76f1ab776a63 100644 --- a/basic/source/comp/exprgen.cxx +++ b/basic/source/comp/exprgen.cxx @@ -34,7 +34,7 @@ struct OpTable { } -static const OpTable aOpTable [] = { +const OpTable aOpTable [] = { { EXPON,SbiOpcode::EXP_ }, { MUL, SbiOpcode::MUL_ }, { DIV, SbiOpcode::DIV_ }, diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index 6819c3ae588d..9d53c8269113 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -47,7 +47,7 @@ struct SbiStatement { #define Y true #define N false -static const SbiStatement StmntTable [] = { +const SbiStatement StmntTable [] = { { ATTRIBUTE, &SbiParser::Attribute, Y, Y, }, // ATTRIBUTE { CALL, &SbiParser::Call, N, Y, }, // CALL { CLOSE, &SbiParser::Close, N, Y, }, // CLOSE diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx index 37c8f9b3a475..bf47a1b2aaa8 100644 --- a/basic/source/comp/token.cxx +++ b/basic/source/comp/token.cxx @@ -32,7 +32,7 @@ struct TokenTable { SbiToken t; const char *s; }; } -static const TokenTable aTokTable_Basic [] = { +const TokenTable aTokTable_Basic [] = { { CAT, "&" }, { MUL, "*" }, { PLUS, "+" }, |