[Libreoffice-commits] core.git: cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jul 20 17:31:51 UTC 2019
cui/source/options/optlingu.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bf7f7c7c385c62a1edfa94dab0334bac606a4732
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jul 20 15:24:36 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jul 20 19:30:50 2019 +0200
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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();
More information about the Libreoffice-commits
mailing list