diff options
-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); |