summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 15:24:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 19:30:50 +0200
commitbf7f7c7c385c62a1edfa94dab0334bac606a4732 (patch)
tree915cff763b622264b83ff0b283c12ea9730c605f /cui
parentc9a64e41d2819e2ac474c9dc302972334ca86e03 (diff)
cid#1448212 Improper use of negative value
Change-Id: Ib707b7e29f72c90f100ac20eb9dada37a2460158 Reviewed-on: https://gerrit.libreoffice.org/76015 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optlingu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index c915ec25ad69..945963ddc989 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1470,7 +1470,7 @@ IMPL_LINK(SvxLinguTabPage, ClickHdl_Impl, weld::Button&, rBtn, void)
DBG_ASSERT(nEntry != -1, "no entry selected");
if (nEntry != -1)
{
- OptionsUserData aData(m_xLinguOptionsCLB->get_id(nEntry).toInt32());
+ OptionsUserData aData(m_xLinguOptionsCLB->get_id(nEntry).toUInt32());
if (aData.HasNumericValue())
{
sal_uInt16 nRID = aData.GetEntryId();