summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:15 +0100
commit72e3c234104a17566c0354beacc6d182234f1e5f (patch)
tree676e0c1a21ac6b107938d486cbe0b4201b5d4f1c /vcl/source/window/syswin.cxx
parent0ffaf416ba6ec1d5955008467a5bf46a40ac6640 (diff)
More loplugin:cstylecast: vcl
Change-Id: I74d1555b461fd8ea316380423fcde2d167714170
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 351a90c8cc2b..d418d69518e2 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -486,7 +486,7 @@ static void ImplWindowStateFromStr(WindowStateData& rData,
{
// #94144# allow Minimize again, should be masked out when read from configuration
// 91625 - ignore Minimize
- WindowStateState nState = (WindowStateState)aTokenStr.toInt32();
+ WindowStateState nState = static_cast<WindowStateState>(aTokenStr.toInt32());
//nState &= ~(WindowStateState::Minimized);
rData.SetState( nState );
nValidMask |= WindowStateMask::State;