diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-06-16 13:16:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-06-16 11:25:13 +0000 |
commit | 3fa7b0b70f8f21c65603aa2b7db53392fdbceec4 (patch) | |
tree | 62eec9d96f1ebcad33233186636a6bb3244371b9 /vcl | |
parent | 814af9f1e59d1a76473b2c72cae4ba8afe1c52d4 (diff) |
Fix typos
Change-Id: Id8c7cf460cba5af89891c470e1aaa61b227d356e
Reviewed-on: https://gerrit.libreoffice.org/16310
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/textlayout.cxx | 2 | ||||
-rw-r--r-- | vcl/workben/svptest.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 7b733eac5ad2..7424e3754e69 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -4246,7 +4246,7 @@ sal_Int32 PDFWriterImpl::updateOutlineItemCount( std::vector< sal_Int32 >& rCoun sal_Int32 nCount = 0; - if( m_aContext.OpenBookmarkLevels < 0 || // all levels arevisible + if( m_aContext.OpenBookmarkLevels < 0 || // all levels are visible m_aContext.OpenBookmarkLevels >= nItemLevel // this level is visible ) { diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx index 5b369b6f218b..8002fcc11690 100644 --- a/vcl/source/gdi/textlayout.cxx +++ b/vcl/source/gdi/textlayout.cxx @@ -284,7 +284,7 @@ namespace vcl // but no actual painting happens, so our "DrawText( Point, ... )" is never called // In this case, calculate the rect from what OutputDevice::GetTextRect would give us. This has // the disadvantage of less accuracy, compared with the approach to calculate the rect from the - // single "DrawText( Point, ... )" calls, since more intermediate arithmetics will translate + // single "DrawText( Point, ... )" calls, since more intermediate arithmetic will translate // from ref- to target-units. aTextRect = m_rTargetDevice.GetTextRect( aRect, _rText, _nStyle, NULL, this ); } diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index 2ebea2dc44c3..f4f321f2fdc5 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -323,7 +323,7 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) aLineColor = approachColor(aLineColor, aApproachColor); rRenderContext.SetLineColor(aLineColor); - // switch aproach color + // switch approach color if (aApproachColor.IsRGBEqual(aLineColor)) { if (aApproachColor.GetRed()) |