cui/source/options/optlingu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf7f7c7c385c62a1edfa94dab0334bac606a4732
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Jul 20 15:24:36 2019 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to