summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-07 14:05:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-07 14:06:17 +0000
commit5ecb308bd3e8381d86f57206c0eed5f32d459956 (patch)
treead0de6bd4115ef111c24fdd5d6df51cb5f930fc0 /sw
parent69b76536a033cefed8e024557742a9988b949d62 (diff)
rename setInitialLayoutSize to setOptimalLayoutSize
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 6d8d738b25bf..66b64fa669b5 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -71,7 +71,7 @@ void SwWordCountFloatDlg::SetValues(const SwDocStat& rCurrent, const SwDocStat&
if (bToggleCJK)
{
showCJK(bShowCJK);
- setInitialLayoutSize(); //force resize of dialog
+ setOptimalLayoutSize(); //force resize of dialog
}
}