summaryrefslogtreecommitdiffstats
path: root/sw/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-27 16:05:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-27 16:26:44 +0100
commit5192468dd49f5e1d821239cd51cea42f8bac7a4b (patch)
treea4f52c450a36d9fbf0a3c7cbd28a8be163fed377 /sw/inc
parentResolves: fdo#51908 count empty paragraphs if they're numbered (diff)
downloadcore-5192468dd49f5e1d821239cd51cea42f8bac7a4b.tar.gz
core-5192468dd49f5e1d821239cd51cea42f8bac7a4b.zip
Related: fdo#51908 reuse the status bar word counts for the dialog
Set the counts directly on the word count dialog when we have them precalculated from updating the status bar Change-Id: Idd64f20097af661dd4938af7fcc8506eca076e9c
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swabstdlg.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 2962991aae85..016202c96f52 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -203,6 +203,7 @@ class AbstractSwWordCountFloatDlg : public VclAbstractDialog
{
public:
virtual void UpdateCounts() = 0;
+ virtual void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) = 0;
virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer
};