summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index fee3bdd02ab8..cb68f6b90366 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" ) )
{