summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManal Alhassoun <malhassoun@kacst.edu.sa>2013-05-15 12:59:23 +0300
committerBosdonnat Cedric <cedric.bosdonnat@free.fr>2013-05-16 14:00:53 +0000
commit08662568a590bfb20849fce077d8b5aff8b99b57 (patch)
tree09a19344c37382d98b75949c538dc15f4f46d4e1
parentfbdfd76d357ef82cacafdf12228b0025374fbc20 (diff)
fix for fdo#53031
Change-Id: I137f2446d08b7b536ded26676132e63489e26e48 Reviewed-on: https://gerrit.libreoffice.org/3914 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
-rw-r--r--sc/source/ui/undo/undotab.cxx1
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 3c1ef777c401..db101dd62273 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 b61d3abb3fd4..0b6f48c5f80b 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));