diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/sgvtext.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index a3d4d673b176..852cfba40208 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -1079,7 +1079,7 @@ void WinOpenGLDeviceInfo::FillBlacklist() IMPLEMENT_INTEL_DRIVER_BLOCKLIST(wgl::DRIVER_OS_WINDOWS_XP, wgl::IntelGMAX3000, wgl::V(6,14,10,5218)); IMPLEMENT_INTEL_DRIVER_BLOCKLIST(wgl::DRIVER_OS_WINDOWS_XP, wgl::IntelGMAX4500HD, wgl::V(6,14,10,4969)); - // StrechRect seems to suffer from precision issues which leads to artifacting + // StretchRect seems to suffer from precision issues which leads to artifacting // during content drawing starting with at least version 6.14.10.5082 // and going until 6.14.10.5218. See bug 919454 and bug 949275 for more info. APPEND_TO_DRIVER_BLOCKLIST_RANGE(wgl::DRIVER_OS_WINDOWS_XP, diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index 290ff1427912..b1373c6fdd51 100644 --- a/vcl/source/filter/sgvtext.cxx +++ b/vcl/source/filter/sgvtext.cxx @@ -820,7 +820,7 @@ void FormatLine(UCHAR* TBuf, sal_uInt16& Index, ObjTextType& Atr0, ObjTextType& } } - if (j==0) { // only one word ? -> strech ! + if (j==0) { // only one word ? -> stretch ! for (i=li+1;i<=re;i++) { // from left to right Line[i]=Line[i]+MulDiv(i-li,BoxRest,re-li+1-1); } @@ -843,7 +843,7 @@ void FormatLine(UCHAR* TBuf, sal_uInt16& Index, ObjTextType& Atr0, ObjTextType& li=1; while (li<=re && (cLine[li]==' ' || cLine[li]==TextEnd || cLine[li]==AbsatzEnd)) li++; BoxRest=AdjWdt-Line[re+1]; - for (i=li+1;i<=re;i++) { // strech from left to right + for (i=li+1;i<=re;i++) { // stretch from left to right Line[i]=Line[i]+MulDiv(i-li,BoxRest,re-li+1-1); } for (i=re+1;i<=nChars;i++) Line[i]=Line[i]+BoxRest; // adapt the rest @@ -910,7 +910,7 @@ void TextType::Draw(OutputDevice& rOut) cLine.reset(new UCHAR[CharLineSize]); TextFit=(Flags & TextFitBits)!=0; - bool LineFit=((Flags & TextFitZBit)!=0); // FitSize.x=0? or flags -> strech each line + bool LineFit=((Flags & TextFitZBit)!=0); // FitSize.x=0? or flags -> stretch each line if (TextFit && FitSize.x==0) LineFit=true; if (RotationAngle==0) { |