summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-14 13:19:22 +0200
committerCaolán McNamara <caolanm@redhat.com>2018-06-14 21:57:20 +0200
commitc37077578deffb79405330967191185967e90b98 (patch)
tree9cd983a39a251e22ba63b789c95b07801ceb0238 /vcl/unx
parent509c706aa07440a573f0e0c44499b82cde068ad2 (diff)
loplugin:unusedfields
Change-Id: I7d9966d11f8272034523d9804ecf76e119552780 Reviewed-on: https://gerrit.libreoffice.org/55796 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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;
}