summaryrefslogtreecommitdiff
path: root/basic/source/comp/token.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:14 +0100
commit3a40d3de89f0b1252974c98e5a5382d6eca67025 (patch)
tree29f476f89e222b4e8a7ca72a2c8ded3631deeb7d /basic/source/comp/token.cxx
parent0cad6d02070ebab995611e8c8125e11e3f7c4836 (diff)
More loplugin:cstylecast: basic
Change-Id: I0bb219632da384ab047a2b1fc3f2b041dacaf2cb
Diffstat (limited to 'basic/source/comp/token.cxx')
-rw-r--r--basic/source/comp/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index 371c9bb4269f..60d10ab6a11b 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -407,7 +407,7 @@ SbiToken SbiTokenizer::Next()
sal_Unicode ch = aSym[0];
if( !BasicCharClass::isAlpha( ch, bCompatible ) && !bSymbol )
{
- return eCurTok = (SbiToken) (ch & 0x00FF);
+ return eCurTok = static_cast<SbiToken>(ch & 0x00FF);
}
return eCurTok = SYMBOL;
}