summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2018-01-30 12:05:51 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-01-30 12:16:37 +0100
commit8310642c6c404ea501b8be5ae4d12860e1562ac9 (patch)
tree881e305318d96431142107d91845dda412ef982d /vcl
parentb4f440092b852a7c66f4acdd7e9b0c8e23e212ef (diff)
Typ-o negativ
Fixed some typos and translated a couple of German words Change-Id: I24ae28dd537ba283a9480413659f85bd6711acad Reviewed-on: https://gerrit.libreoffice.org/48892 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
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;