summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterSlideSorter.cxx
diff options
context:
space:
mode:
authorAbdulelah Alarifi <asalarifi@kacst.edu.sa>2012-12-12 13:26:55 +0300
committerCaolán McNamara <caolanm@redhat.com>2013-01-10 13:06:17 +0000
commiteb0d07d3f2937315700dabf72d366f5ef4d4200d (patch)
tree1f8e7cf095f87ca63acb7c4dd4c2e315344e1869 /sdext/source/presenter/PresenterSlideSorter.cxx
parent6312695ad694598951f2cdd4ac26c53457fedb79 (diff)
fdo#57422 - presenter console RTL support needs completion
This patch will fix the text direction of the text that appears when the mouse come over the slide in Slide sorter view. Change-Id: I2d3c5563b22dcd40ae4f70ed0ed06ad17f6c4132 Change-Id: I812e011b4e0aaeeb7ec6114a655240effc8c606a Reviewed-on: https://gerrit.libreoffice.org/1284 Reviewed-by: Faisal al-otaibi <fmalotaibi@kacst.edu.sa> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sdext/source/presenter/PresenterSlideSorter.cxx')
-rw-r--r--sdext/source/presenter/PresenterSlideSorter.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index eb0ce723c163..414815256d3a 100644
--- a/sdext/source/presenter/PresenterSlideSorter.cxx
+++ b/sdext/source/presenter/PresenterSlideSorter.cxx
@@ -1583,12 +1583,10 @@ Reference<rendering::XBitmap> PresenterSlideSorter::MouseOverManager::CreateBitm
rendering::CompositeOperation::SOURCE);
PresenterCanvasHelper::SetDeviceColor(aRenderState, mpFont->mnColor);
- xBitmapCanvas->drawText(
- aContext,
- mpFont->mxFont,
+ xBitmapCanvas->drawTextLayout (
+ xLayout,
aViewState,
- aRenderState,
- rendering::TextDirection::WEAK_LEFT_TO_RIGHT);
+ aRenderState);
}
return xBitmap;