summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>2010-12-27 00:13:40 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-07-21 11:34:01 +0100
commit69fec2768dddb7ce3fbc3728b91d1b125e49dd34 (patch)
tree36ccb9f7f50444bad8d2d9285dbf4f32c5e190c5
parentb79bba7681b7765ae91126a0b33c1ecc09cced63 (diff)
A couple more points for TODO.feature/layout
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 323a0547dd..e33e3548b8 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -200,6 +200,13 @@ void SwWordCountDialog::SetValues(const SwDocStat& rCurrent, const SwDocStat& r
// It won't be necessary to explicitely request a new size once
// we build such code into the widgets.
+
+// TEST: only do a QueueResize every N calls
+#if 0
+static int n = 0;
+if (((n++) % 10) == 0)
+#endif
+
Layout::QueueResize (table);
#if 0