[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - cui/source
Julien Nabet
serval2412 at yahoo.fr
Thu Jan 8 04:02:21 PST 2015
cui/source/tabpages/autocdlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4d782fe3ba2f40804cad202d88ea64fde1396032
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Dec 22 23:57:50 2014 +0100
Resolves fdo#87581: Pb to delete words with 2 initials in Autocorr Except
Cherry-picked from a5811c70bb443190a76a52585580659f96a58a04
Change-Id: I49b97c5c1546f0410542cb67540c5507c95bec98
Reviewed-on: https://gerrit.libreoffice.org/13619
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 1ac62ea..b8de639 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1489,7 +1489,7 @@ bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
for( i = nCount; i; )
{
OUString aString = (*pWrdList)[ --i ];
- if( USHRT_MAX == m_pDoubleCapsLB->GetEntryPos(aString) )
+ if( LISTBOX_ENTRY_NOTFOUND == m_pDoubleCapsLB->GetEntryPos(aString) )
{
pWrdList->erase(i);
}
More information about the Libreoffice-commits
mailing list