summaryrefslogtreecommitdiff
path: root/sw/inc/list.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-03-01 22:04:09 +0100
committerMichael Stahl <mstahl@redhat.com>2016-03-02 15:07:02 +0100
commit69ff012f1a2d10b3284586474f2add4e88eabcfb (patch)
tree278d6a8b6c3011b8e012ed3009b938bc4834b54a /sw/inc/list.hxx
parent38f3b3fd31143495249a67c9526fe2a47dafe861 (diff)
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
Diffstat (limited to 'sw/inc/list.hxx')
-rw-r--r--sw/inc/list.hxx1
1 files changed, 1 insertions, 0 deletions
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 );