summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/i18n_xkb.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/app/i18n_xkb.cxx b/vcl/unx/generic/app/i18n_xkb.cxx
index 3c2d1a25fbba..cb5f29709671 100644
--- a/vcl/unx/generic/app/i18n_xkb.cxx
+++ b/vcl/unx/generic/app/i18n_xkb.cxx
@@ -28,7 +28,6 @@
SalI18N_KeyboardExtension::SalI18N_KeyboardExtension( Display* pDisplay )
: mbUseExtension(true)
, mnEventBase(0)
- , mnErrorBase(0)
{
sal_uInt32 nDefaultGroup = 0;
@@ -55,9 +54,10 @@ SalI18N_KeyboardExtension::SalI18N_KeyboardExtension( Display* pDisplay )
int nMajorExtOpcode;
int nExtMajorVersion = XkbMajorVersion;
int nExtMinorVersion = XkbMinorVersion;
+ int nErrorBase = 0;
mbUseExtension = XkbQueryExtension( pDisplay,
- &nMajorExtOpcode, &mnEventBase, &mnErrorBase,
+ &nMajorExtOpcode, &mnEventBase, &nErrorBase,
&nExtMajorVersion, &nExtMinorVersion ) != 0;
}