[Libreoffice-commits] core.git: sd/source

navin patidar patidar at kacst.edu.sa
Sat Mar 23 00:08:15 PDT 2013


 sd/source/ui/annotations/annotationwindow.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 092bf2fb0052ca73855127dc03ff1ae3f9321506
Author: navin patidar <patidar at kacst.edu.sa>
Date:   Tue Mar 19 15:21:21 2013 +0300

    fix fdo#62050: for impress
    
    Impress is also affected by fdo#62050.
    In RTL UI, comment window is RTL and editbox’s (editeng) default
    writing direction is LTR.
    I suspect, bug is result of this RTL & LTR mix-up.
    
    Change-Id: I188ce05350f721081378509915158d4ec4e5f8cf
    Reviewed-on: https://gerrit.libreoffice.org/2922
    Reviewed-by: Ahmad Harthi <aalharthi at kacst.edu.sa>
    Tested-by: Ahmad Harthi <aalharthi at kacst.edu.sa>

diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 2a859f0..d03548a 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -327,15 +327,12 @@ void AnnotationWindow::InitControls()
         mpOutliner->SetRefDevice( pDev );
     }
 
+    mpTextWindow->EnableRTL( sal_False );
     mpOutlinerView = new OutlinerView ( mpOutliner, mpTextWindow );
     mpOutliner->InsertView(mpOutlinerView );
     mpTextWindow->SetOutlinerView(mpOutlinerView);
     mpOutlinerView->SetOutputArea( PixelToLogic( Rectangle(0,0,1,1) ) );
 
-    // TODO: ??
-    EEHorizontalTextDirection aDefHoriTextDir = Application::GetSettings().GetLayoutRTL() ? EE_HTEXTDIR_R2L : EE_HTEXTDIR_L2R;
-    mpOutliner->SetDefaultHorizontalTextDirection( aDefHoriTextDir );
-
     //create Scrollbars
     mpVScrollbar = new ScrollBar(this, WB_3DLOOK |WB_VSCROLL|WB_DRAG);
     mpVScrollbar->EnableNativeWidget(false);


More information about the Libreoffice-commits mailing list