summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-11-20 20:44:18 +0000
committerjp <jp@openoffice.org>2000-11-20 20:44:18 +0000
commitf5a903a08f278b4a7d8c8d1c237f933b15472bbc (patch)
tree3ed2b2a0ca598753cdf1ed413049f095f81127df
parentfa94ca3f35dc8122a81a62250285d7f147fb3a4b (diff)
Bug #80263#: MoveNodes: fix for the fix
-rw-r--r--sw/source/core/docnode/nodes.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 0382dc6fc1fc..fb7c6ef0b9df 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: nodes.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jp $ $Date: 2000-10-26 17:14:24 $
+ * last change: $Author: jp $ $Date: 2000-11-20 21:44:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -774,7 +774,9 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
case ND_TABLENODE:
case ND_STARTNODE:
{
- if( !nInsPos ) // empty section -> nothing to do
+ // Bug #78589# - empty section -> nothing to do
+ // and only if it's a top level section
+ if( !nInsPos && !nLevel )
{
aRg.aEnd--;
break;