diff options
author | Sergey Farbotka <z8sergey8z@gmail.com> | 2012-10-02 17:36:09 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-10-02 17:36:09 +0200 |
commit | da9a26f5f49ea56422bb791d4f96725283d3e8c6 (patch) | |
tree | 65e8c56d508dfe5883a4ad759c8d9f51b5dfa21f /vcl/aqua | |
parent | d6418f680b8861dfea1ce1be6e9358b23cfb3064 (diff) |
Fix fdo#55142 - use proper output offsets.
Change-Id: I76e6158f1ac64b9dd555cf8aee3ce8bdd5d035c5
Diffstat (limited to 'vcl/aqua')
-rw-r--r-- | vcl/aqua/source/gdi/atsui/salatslayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/atsui/salatslayout.cxx b/vcl/aqua/source/gdi/atsui/salatslayout.cxx index 4145dbf91342..5d9ad09e6fcb 100644 --- a/vcl/aqua/source/gdi/atsui/salatslayout.cxx +++ b/vcl/aqua/source/gdi/atsui/salatslayout.cxx @@ -437,7 +437,7 @@ void ATSLayout::DrawText( SalGraphics& rGraphics ) const { const SubPortion& rSubPortion = *it; // calculate sub-portion offset for rotated text - Fixed nXOfsFixed = 0, nYOfsFixed = 0; + Fixed nXOfsFixed = rSubPortion.mnXOffset, nYOfsFixed = 0; if( rAquaGraphics.mnATSUIRotation != 0 ) { const double fRadians = rAquaGraphics.mnATSUIRotation * (M_PI/0xB40000); |