[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Jul 9 06:32:38 PDT 2012
sw/source/core/txtnode/ndtxt.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 99bd0d846fd2daf4905b986cae4cfb31fde04964
Author: Caolán McNamara <caolanm at redhat.com>
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 );
}
}
More information about the Libreoffice-commits
mailing list