From 69ff012f1a2d10b3284586474f2add4e88eabcfb Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 1 Mar 2016 22:04:09 +0100 Subject: sw: tdf#91131 when renaming a SwNumRule, also ... ... update the DocumentListsManager::maLists because without that all list styles created in the UI will have GetDefaultListStyleName() == "Untitled1" and then deleting one of them deletes all these entries from maList, which makes the DocumentListsManager unhappy. Change-Id: Ic40e561fc540881ab29566a3f5ecdc8a180c97ef --- sw/inc/list.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/inc/list.hxx') diff --git a/sw/inc/list.hxx b/sw/inc/list.hxx index 0cb1ba5c9536..2c3daf7d981a 100644 --- a/sw/inc/list.hxx +++ b/sw/inc/list.hxx @@ -39,6 +39,7 @@ class SwList const OUString GetListId() const; const OUString GetDefaultListStyleName() const; + void SetDefaultListStyleName(OUString const&); void InsertListItem( SwNodeNum& rNodeNum, const int nLevel ); -- cgit