sw/source/core/txtnode/ndtxt.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 99bd0d846fd2daf4905b986cae4cfb31fde04964 Author: Caolán McNamara <[email protected]> Date: Mon Jul 9 14:31:17 2012 +0100 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 diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 9848b60..dcacdb4 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 ); } }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
