diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-04 14:48:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-04 14:48:43 +0200 |
commit | 02a10e6bdd79b4c865e3bcd951c230debcb98e89 (patch) | |
tree | 5c181838e39af1c54aee8afad355bdbe541e98e7 /vcl/source/filter | |
parent | a3e2b884f33435eef369ce8cb8eee4bdc5db95af (diff) |
rename Dreh->Rotation
Change-Id: Ibc9345959462b5a1cb9e47791742217e567b3cd0
Diffstat (limited to 'vcl/source/filter')
-rw-r--r-- | vcl/source/filter/sgvtext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index 7522420d70ef..76adab673aa6 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); |