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

Manal Alhassoun malhassoun at kacst.edu.sa
Thu May 16 07:01:13 PDT 2013


 sc/source/ui/undo/undotab.cxx  |    1 +
 sc/source/ui/view/viewfun2.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 08662568a590bfb20849fce077d8b5aff8b99b57
Author: Manal Alhassoun <malhassoun at kacst.edu.sa>
Date:   Wed May 15 12:59:23 2013 +0300

    fix for fdo#53031
    
    Change-Id: I137f2446d08b7b536ded26676132e63489e26e48
    Reviewed-on: https://gerrit.libreoffice.org/3914
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>

diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 3c1ef77..db101dd 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -355,6 +355,7 @@ void ScUndoDeleteTab::Undo()
             pDoc->SetVisible( nTab, pRefUndoDoc->IsVisible( nTab ) );
             pDoc->SetTabBgColor( nTab, pRefUndoDoc->GetTabBgColor(nTab) );
             pDoc->SetSheetEvents( nTab, pRefUndoDoc->GetSheetEvents( nTab ) );
+            pDoc->SetLayoutRTL( nTab, pRefUndoDoc->IsLayoutRTL( nTab ) );
 
             if ( pRefUndoDoc->IsTabProtected( nTab ) )
                 pDoc->SetTabProtection(nTab, pRefUndoDoc->GetTabProtection(nTab));
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index b61d3ab..0b6f48c 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -2170,6 +2170,7 @@ sal_Bool ScViewFunc::DeleteTables(const vector<SCTAB> &TheTabs, sal_Bool bRecord
             pUndoDoc->SetVisible( nTab, pDoc->IsVisible( nTab ) );
             pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) );
             pUndoDoc->SetSheetEvents( nTab, pDoc->GetSheetEvents( nTab ) );
+            pUndoDoc->SetLayoutRTL( nTab, pDoc->IsLayoutRTL( nTab ) );
 
             if ( pDoc->IsTabProtected( nTab ) )
                 pUndoDoc->SetTabProtection(nTab, pDoc->GetTabProtection(nTab));


More information about the Libreoffice-commits mailing list