summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/keycod.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/keycod.cxx b/vcl/source/window/keycod.cxx
index 9ed1e4502c3f..a31ba0a2b61d 100644
--- a/vcl/source/window/keycod.cxx
+++ b/vcl/source/window/keycod.cxx
@@ -76,6 +76,8 @@ KeyCode::KeyCode( KeyFuncType eFunction )
KeyCode::KeyCode( const ResId& rResId )
+ : nCode(0)
+ , eFunc(KEYFUNC_DONTKNOW)
{
rResId.SetRT( RSC_KEYCODE );