diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-04-26 05:45:29 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-04-26 10:30:27 +0200 |
commit | 84a409981a3ad481841c812d66721f89da7aeac6 (patch) | |
tree | f3d8fd2023b118e4a7ee4c696f1acbfac38b16c8 | |
parent | 2fa6c2ecbf8b5a3c5f26beac6c3026b282e38c81 (diff) |
tdf#39674: Rename Fehler to Error
Change-Id: Ib8288db4ddde159f274a0ca251230c7d721e0079
Reviewed-on: https://gerrit.libreoffice.org/36972
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | vcl/source/filter/sgvtext.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index 0366ae7728f5..14478398fd11 100644 --- a/vcl/source/filter/sgvtext.cxx +++ b/vcl/source/filter/sgvtext.cxx @@ -891,7 +891,7 @@ void TextType::Draw(OutputDevice& rOut) sal_uInt16 FitXDiv; sal_uInt16 FitYMul; sal_uInt16 FitYDiv; - bool Fehler; + bool Error; UCHAR* Buf=Buffer; // pointer to the letters pSgfFonts->ReadList(); @@ -931,8 +931,8 @@ void TextType::Draw(OutputDevice& rOut) do { T2=T1; Index2=Index1; FormatLine(Buf,Index2,T,T2,xSize,xSAdj,xLine.get(),l,cLine.get(),LineFit); - Fehler=(Index2==Index1); - if (!Fehler) { + Error=(Index2==Index1); + if (!Error) { lc=GetLineFeed(Buf,Index1,T,T1,l,LF,MaxGrad); if (TextFit) { if (LineFit) FitXDiv=xLine[lc+1]; @@ -974,8 +974,8 @@ void TextType::Draw(OutputDevice& rOut) yPos=yPos0+LF; T1=T2; Index1=Index2; // for next line } // if ObjMin.y+yPos<=Obj_Max.y - } // if !Fehler - } while (c!=TextEnd && !Ende && !Fehler); + } // if !Error + } while (c!=TextEnd && !Ende && !Error); } // End of DrawText.Pas |