[Libreoffice-commits] .: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 3 07:02:31 PST 2013


 cui/source/dialogs/SpellDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 844095f29af4ea2d9b42e1231456c4556a8f96f3
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Jan 3 17:01:00 2013 +0200

    WaE: unsafe mix of type 'bool' and type 'sal_Bool'
    
    Change-Id: I927f7ea5cae396bb10ffc2568ec68ae69b8f3f82

diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 5048a67..b4771de 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -370,7 +370,7 @@ void SpellDialog::UpdateBoxes_Impl()
         m_pExplainLink->Hide();
     }
 
-    if (bOldShowExplain != m_pExplainLink->IsVisible() || bOldShowGrammar != m_pCheckGrammarCB->IsVisible())
+    if (bOldShowExplain != (bool) m_pExplainLink->IsVisible() || bOldShowGrammar != (bool) m_pCheckGrammarCB->IsVisible())
         setInitialLayoutSize();
 }
 // -----------------------------------------------------------------------


More information about the Libreoffice-commits mailing list