[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sc/source

Manal Alhassoun malhassoun at kacst.edu.sa
Fri May 17 00:17:28 PDT 2013


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

New commits:
commit 6e6b9e4511baf189ce4e65c787765fd685ba2288
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>
    (cherry picked from commit 08662568a590bfb20849fce077d8b5aff8b99b57)

diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 9732e21..54ea512 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -356,6 +356,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 2dd4871..590e134 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -2144,6 +2144,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