[PATCH] fix for fdo#53031

Manal Alhassoun (via Code Review) gerrit at gerrit.libreoffice.org
Wed May 15 02:48:27 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3914

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/14/3914/1

fix for fdo#53031

Change-Id: I137f2446d08b7b536ded26676132e63489e26e48
---
M sc/source/ui/undo/undotab.cxx
M sc/source/ui/view/viewfun2.cxx
2 files changed, 2 insertions(+), 0 deletions(-)



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 @@
             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 @@
             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));

-- 
To view, visit https://gerrit.libreoffice.org/3914
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I137f2446d08b7b536ded26676132e63489e26e48
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Manal Alhassoun <malhassoun at kacst.edu.sa>



More information about the LibreOffice mailing list