From 5ecb308bd3e8381d86f57206c0eed5f32d459956 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 7 Mar 2013 14:05:33 +0000 Subject: rename setInitialLayoutSize to setOptimalLayoutSize and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94 --- cui/source/dialogs/SpellDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/SpellDialog.cxx') diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 412a0b828121..f098a287a217 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -371,7 +371,7 @@ void SpellDialog::UpdateBoxes_Impl() } if (bOldShowExplain != (bool) m_pExplainLink->IsVisible() || bOldShowGrammar != (bool) m_pCheckGrammarCB->IsVisible()) - setInitialLayoutSize(); + setOptimalLayoutSize(); } // ----------------------------------------------------------------------- -- cgit