[Libreoffice-commits] .: Branch 'feature/layout' - sw/source

Ricardo Cruz rpmcruz at kemper.freedesktop.org
Sun Dec 26 16:14:35 PST 2010


 sw/source/ui/dialog/wordcountdialog.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit acbd0336d86633073663c0b51a487dce376d8176
Author: Ricardo Cruz <rpmcruz at alunos.dcc.fc.up.pt>
Date:   Mon Dec 27 00:13:40 2010 +0000

    A couple more points for TODO.

diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 323a054..e33e354 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


More information about the Libreoffice-commits mailing list