diff options
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 1 |
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)); |