diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-09 14:31:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-09 14:32:03 +0100 |
commit | 99bd0d846fd2daf4905b986cae4cfb31fde04964 (patch) | |
tree | 9c256e0c6b9ae8639c3977ec63614586c9235b84 /sw/source/core/txtnode | |
parent | 89de7eef5090c5efdca1314f8838bdc977001e5d (diff) |
Resolves: fdo#51908 drop word/char count cache when numbering rule changes
Word Count doesn't update immediately when Numbering is applied or removed
Change-Id: I44ac2313cdeef92e6394b86316ff1037fc8d8f18
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 9848b60c04b8..dcacdb4f280e 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -2389,6 +2389,8 @@ void SwTxtNode::NumRuleChgd() SvxLRSpaceItem& rLR = (SvxLRSpaceItem&)GetSwAttrSet().GetLRSpace(); NotifyClients( &rLR, &rLR ); } + + SetWordCountDirty( true ); } // -> #i27615# @@ -3840,6 +3842,8 @@ void SwTxtNode::RemoveFromList() mpList = 0; delete mpNodeNum; mpNodeNum = 0L; + + SetWordCountDirty( true ); } } |