diff options
Diffstat (limited to 'xmloff/source/text/txtlists.cxx')
-rw-r--r-- | xmloff/source/text/txtlists.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx index 58bedf74ee81..4f4aceea53c5 100644 --- a/xmloff/source/text/txtlists.cxx +++ b/xmloff/source/text/txtlists.cxx @@ -246,10 +246,10 @@ const ::rtl::OUString& XMLTextListsHelper::GetListStyleOfLastProcessedList() con // Value of xml:id in element <text:list> has to be a valid ID type (#i92478#) sTmpStr += ::rtl::OUString::valueOf( n ); - long nHitCount = 0; ::rtl::OUString sNewListId( sTmpStr ); if ( mpProcessedLists != 0 ) { + long nHitCount = 0; while ( mpProcessedLists->find( sNewListId ) != mpProcessedLists->end() ) { ++nHitCount; |