diff options
author | Frank Meies <fme@openoffice.org> | 2001-12-05 08:02:00 +0000 |
---|---|---|
committer | Frank Meies <fme@openoffice.org> | 2001-12-05 08:02:00 +0000 |
commit | cfa3f30001f5ded5d25bd8c7c0638d6f527dc3b4 (patch) | |
tree | 67788ff83bf570ba0f8e68beaa5f2c9a79470f98 /sw/source/core/text/frmform.cxx | |
parent | 35557afe1ee148b8d2a625eb0c2b006908e225c3 (diff) |
Chg: Vertical Formatting - SplitFrm with unswapped frame
Diffstat (limited to 'sw/source/core/text/frmform.cxx')
-rw-r--r-- | sw/source/core/text/frmform.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx index 158849970c46..c0438af50388 100644 --- a/sw/source/core/text/frmform.cxx +++ b/sw/source/core/text/frmform.cxx @@ -2,9 +2,9 @@ * * $RCSfile: frmform.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: fme $ $Date: 2001-11-23 16:22:09 $ + * last change: $Author: fme $ $Date: 2001-12-05 09:02:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -867,6 +867,10 @@ SwCntntFrm *SwTxtFrm::JoinFrm() SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos ) { +#ifdef VERTICAL_LAYOUT + SWAP_IF_SWAPPED( this ) +#endif + // Durch das Paste wird ein Modify() an mich verschickt. // Damit meine Daten nicht verschwinden, locke ich mich. SwTxtFrmLocker aLock( this ); @@ -926,6 +930,10 @@ SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos ) #endif pNew->ManipOfst( nTxtPos ); + +#ifdef VERTICAL_LAYOUT + UNDO_SWAP( this ) +#endif return pNew; } |