Fix always-false condition of FullCommentURL

This commit is contained in:
László Németh
2011-12-13 10:18:52 +01:00
parent 946b0d3163
commit e2812dd419

View File

@@ -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" ) )
{