diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 23:08:19 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 23:22:25 +0100 |
commit | 9f3aa81c5d5a15b7374768417839bc200fd06479 (patch) | |
tree | bb91d4af77cde9cc974aef1548f438a07bbdf323 /vcl/source | |
parent | ea6f3c09cf76932ce567e8d3250e0f665ca42c99 (diff) |
Lenght -> Length
Change-Id: Ic338484627a1b74fba2d4d0794f8865290177464
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/filter/wmf/winmtf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index 9986da940437..09d847e557a6 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -1570,9 +1570,9 @@ void WinMtfOutput::DrawText( Point& rPosition, OUString& rText, sal_Int32* pDXAr if ( mnTextAlign & TA_RIGHT_CENTER ) { - double fLenght = ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >> 1; - rPosition.X() -= (sal_Int32)( fLenght * cos( maFont.GetOrientation() * F_PI1800 ) ); - rPosition.Y() -= (sal_Int32)(-( fLenght * sin( maFont.GetOrientation() * F_PI1800 ) ) ); + double fLength = ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >> 1; + rPosition.X() -= (sal_Int32)( fLength * cos( maFont.GetOrientation() * F_PI1800 ) ); + rPosition.Y() -= (sal_Int32)(-( fLength * sin( maFont.GetOrientation() * F_PI1800 ) ) ); } if( mnTextAlign & TA_UPDATECP ) |