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

New commits:
commit e2812dd41916cb90c28782b855a100edb4b681b0
Author: László Németh <nem...@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" 
) )
                         {
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to