summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/edit.cxx2
-rw-r--r--vcl/source/edit/xtextedt.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4dd99139c2f5..644438d53bf6 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1125,7 +1125,7 @@ void Edit::ImplShowCursor( bool bOnlyIfVisible )
{
long nMaxNegX = (aOutSize.Width()-ImplGetExtraXOffset()) - GetTextWidth( aText );
mnXOffset -= aOutSize.Width() / 5;
- if ( mnXOffset < nMaxNegX ) // both negativ...
+ if ( mnXOffset < nMaxNegX ) // both negative...
mnXOffset = nMaxNegX;
}
}
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index aa630c7ecab0..20cbddaf8556 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -115,7 +115,7 @@ TextSelection ExtTextEngine::MatchGroup( const TextPaM& rCursor ) const
if ( nPara )
{
nPara--;
- nCur = GetTextLen( nPara )-1; // no matter if negativ, as if Len()
+ nCur = GetTextLen( nPara )-1; // no matter if negative, as if Len()
}
else
break;