[Libreoffice-commits] .: sdext/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 10 05:06:36 PST 2013


 sdext/source/presenter/PresenterSlideSorter.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit eb0d07d3f2937315700dabf72d366f5ef4d4200d
Author: Abdulelah Alarifi <asalarifi at kacst.edu.sa>
Date:   Wed Dec 12 13:26:55 2012 +0300

    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 at kacst.edu.sa>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx
index eb0ce72..4148152 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;


More information about the Libreoffice-commits mailing list