diff options
Diffstat (limited to 'cui/source/tabpages/autocdlg.cxx')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 2fdb140df21c..20e8429ba0ec 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -2308,7 +2308,7 @@ void OfaAutoCompleteTabPage::Reset( const SfxItemSet* ) } } - if (pOpt->m_pAutoCompleteList && pOpt->m_pAutoCompleteList->size()) + if (pOpt->m_pAutoCompleteList && !pOpt->m_pAutoCompleteList->empty()) { m_pAutoCompleteList = const_cast<editeng::SortedAutoCompleteStrings*>( pOpt->m_pAutoCompleteList); |