vcl/source/filter/sgvtext.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 02a10e6bdd79b4c865e3bcd951c230debcb98e89 Author: Noel Grandin <n...@peralex.com> Date: Tue Nov 4 14:48:43 2014 +0200 rename Dreh->Rotation Change-Id: Ibc9345959462b5a1cb9e47791742217e567b3cd0 diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index 7522420..76adab6 100644 --- a/vcl/source/filter/sgvtext.cxx +++ b/vcl/source/filter/sgvtext.cxx @@ -456,7 +456,7 @@ sal_uInt16 GetLineFeed(UCHAR* TBuf, sal_uInt16 Index, ObjTextType Atr0, ObjTextT #define SuperSubFact 60 /* superscript/subscript: 60% of text angle */ #define DefaultSpace 40 /* Default: space is 40% of text angle */ -sal_uInt16 SetTextContext(OutputDevice& rOut, ObjTextType& Atr, bool Kapt, sal_uInt16 Dreh, +sal_uInt16 SetTextContext(OutputDevice& rOut, ObjTextType& Atr, bool Kapt, sal_uInt16 nRotation, sal_uInt16 FitXMul, sal_uInt16 FitXDiv, sal_uInt16 FitYMul, sal_uInt16 FitYDiv) { SgfFontOne* pSgfFont; // Font from the IniFile @@ -538,8 +538,8 @@ sal_uInt16 SetTextContext(OutputDevice& rOut, ObjTextType& Atr, bool Kapt, sal_u aFont.SetTransparent(true); aFont.SetAlign(ALIGN_BASELINE); - Dreh/=10; Dreh=3600-Dreh; if (Dreh==3600) Dreh=0; - aFont.SetOrientation(Dreh); + nRotation/=10; nRotation=3600-nRotation; if (nRotation==3600) nRotation=0; + aFont.SetOrientation(nRotation); if ((Atr.Schnitt & TextBoldBit) !=0) aFont.SetWeight(WEIGHT_BOLD); if ((Atr.Schnitt & TextRSlnBit) !=0) aFont.SetItalic(ITALIC_NORMAL); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits