summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2011-12-13 21:35:25 +0100
committerLászló Németh <nemeth@numbertext.org>2011-12-13 21:38:19 +0100
commite0248eb419ba923834698fd628e1c0bf34f42cc5 (patch)
tree6fe8214ca41985e878c261c3ee395b70ccb0aeb8
parent23c16ec47cec92566b426168ed53c795116b56f6 (diff)
Fix FullCommentURL for grammar checking (local menu)
-rw-r--r--sw/source/ui/lingu/olmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx
index 0e1a7cd369b6..b85dfaae4fa6 100644
--- a/sw/source/ui/lingu/olmenu.cxx
+++ b/sw/source/ui/lingu/olmenu.cxx
@@ -586,13 +586,13 @@ aInfo16( SW_RES(IMG_INFO_16) )
SetItemImage( MN_SHORT_COMMENT, aInfo16 );
// Add an item to show detailled infos if the FullCommentURL property is defined
beans::PropertyValues aProperties = rResult.aErrors[ nErrorInResult ].aProperties;
{
sal_Int32 i = 0;
- while ( !sExplanationLink.isEmpty() && i < aProperties.getLength() )
+ while ( sExplanationLink.isEmpty() && i < aProperties.getLength() )
{
if ( aProperties[i].Name.equalsAscii( "FullCommentURL" ) )
{
uno::Any aValue = aProperties[i].Value;
aValue >>= sExplanationLink;
}