summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAbdulaziz A Alayed <aalayed@kacst.edu.sa>2013-09-18 13:18:32 +0300
committerAbdulaziz A Alayed <aalayed@kacst.edu.sa>2013-09-18 13:37:54 +0300
commitd86a72b64f208fe55f302d9fd8a7f578a4275bb8 (patch)
tree94068463ef70a71006b3d055391c74c5ad7af5c6 /svtools
parent8312c88dd59baf5e7fa88f15abf7f91e8d33defc (diff)
fdo#69280 fixing comments toggle button position when local
set to RTL language Change-Id: I0c133e3bbb6801f56e9ac0f508961bfa07a19523 Conflicts: svtools/source/control/ruler.cxx
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx6
1 files changed, 5 insertions, 1 deletions
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];