From d86a72b64f208fe55f302d9fd8a7f578a4275bb8 Mon Sep 17 00:00:00 2001 From: Abdulaziz A Alayed Date: Wed, 18 Sep 2013 13:18:32 +0300 Subject: fdo#69280 fixing comments toggle button position when local set to RTL language Change-Id: I0c133e3bbb6801f56e9ac0f508961bfa07a19523 Conflicts: svtools/source/control/ruler.cxx --- svtools/source/control/ruler.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 6a356c6e45c4..91bb08400948 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2728,7 +2728,6 @@ void Ruler::DrawTab( OutputDevice* pDevice, const Color &rFillColor, const Point ImplDrawRulerTab( pDevice, aPos, nTabStyle, nStyle ); pDevice->Pop(); } - void Ruler::SetTextRTL(sal_Bool bRTL) { if(mpData->bTextRTL != (bool) bRTL) @@ -2770,6 +2769,11 @@ long Ruler::GetRulerVirHeight() const return mnVirHeight; } +bool Ruler::GetTextRTL() +{ + return mpData->bTextRTL; +} + RulerUnitData Ruler::GetCurrentRulerUnit() const { return aImplRulerUnitTab[mnUnitIndex]; -- cgit