summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/window/salframe.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index e900213bae3e..cba75f1b5705 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2887,7 +2887,6 @@ SalFrame::SalPointerState WinSalFrame::GetPointerState()
KeyIndicatorState WinSalFrame::GetIndicatorState()
{
KeyIndicatorState aState = KeyIndicatorState::NONE;
- aState.mnState = 0;
if (::GetKeyState(VK_CAPITAL))
aState |= KeyIndicatorState::CAPSLOCK;