[Libreoffice-commits] .: cui/source

László Németh nemeth at kemper.freedesktop.org
Tue Dec 13 01:31:47 PST 2011


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

New commits:
commit e2812dd41916cb90c28782b855a100edb4b681b0
Author: László Németh <nemeth at numbertext.org>
Date:   Tue Dec 13 10:18:52 2011 +0100

    Fix always-false condition of FullCommentURL

diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index fee3bdd..cb68f6b 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1233,7 +1233,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
                     beans::PropertyValues  aProperties = aStart->aGrammarError.aProperties;
                     rtl::OUString sFullCommentURL;
                     sal_Int32 i = 0;
-                    while ( !sFullCommentURL.isEmpty() && i < aProperties.getLength() )
+                    while ( sFullCommentURL.isEmpty() && i < aProperties.getLength() )
                     {
                         if ( aProperties[i].Name.equalsAscii( "FullCommentURL" ) )
                         {


More information about the Libreoffice-commits mailing list