summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-30 07:54:09 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-30 20:58:56 +0200
commitf93a345ab5d35aadb5bbbd501df10ff2521c8104 (patch)
treea1eefd9451f5dceef83082fe645362d97618edc7 /vcl/source/outdev
parent70d3bbe11e56f12a339a5b8759b53a96b4fe84ab (diff)
Fix typos
Change-Id: Ib737ff364f627b9e4d0dc2a9903a07a0af36a8ae Reviewed-on: https://gerrit.libreoffice.org/76551 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r--vcl/source/outdev/font.cxx2
-rw-r--r--vcl/source/outdev/text.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 48b82d4e856e..dbecc1d550fe 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -853,7 +853,7 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
aFont.SetFamilyName( aName );
}
- // No Name, than set all names
+ // No Name, then set all names
if ( aFont.GetFamilyName().isEmpty() )
{
if ( nFlags & GetDefaultFontFlags::OnlyOne )
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index a5ccdb1bd6d5..962c5c71297b 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -329,7 +329,7 @@ void OutputDevice::ImplDrawSpecialText( SalLayout& rSalLayout )
Color aTextLineColor( aOldTextLineColor );
Color aOverlineColor( aOldOverlineColor );
- // we don't have a automatic color, so black is always drawn on white
+ // we don't have an automatic color, so black is always drawn on white
if ( aTextColor == COL_BLACK )
aTextColor = COL_WHITE;
if ( aTextLineColor == COL_BLACK )