diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 20:45:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 21:21:28 +0100 |
commit | d637997d69ba3bd7bbad6f8cc1e0213f2c18d0d1 (patch) | |
tree | 3527d47b90901156ab123c1af1ef19a4645e91db /cui/source/options/optgdlg.cxx | |
parent | coverity#1194897 Logically dead code (diff) | |
download | core-d637997d69ba3bd7bbad6f8cc1e0213f2c18d0d1.tar.gz core-d637997d69ba3bd7bbad6f8cc1e0213f2c18d0d1.zip |
coverity#1194915 Integer overflowed argument
Change-Id: I6c05a1094fcf3dd51079a6b67ee02b31cc2c6a6c
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index c3794a85c952..4453b50d854a 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1288,7 +1288,7 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet& rSet ) // Configured currency, for example, USD-en-US or EUR-de-DE, or empty for locale default. OUString sOldCurr = pLangConfig->aSysLocaleOptions.GetCurrencyConfigString(); - sal_uInt16 nCurrPos = m_pCurrencyLB->GetSelectEntryPos(); + sal_Int32 nCurrPos = m_pCurrencyLB->GetSelectEntryPos(); const NfCurrencyEntry* pCurr = (const NfCurrencyEntry*) m_pCurrencyLB->GetEntryData( nCurrPos ); OUString sNewCurr; |