summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2002-07-03 09:29:55 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2002-07-03 09:29:55 +0000
commit65de5382a389cc7edf1cdf506da4fb43a4d33a9f (patch)
tree5f0ba099487cc0e5e4a435f4bd31efe8262f9de4
parentda57a89581fb28d663cf85c1f1e45a58711fb520 (diff)
#100619# fixed problem with hiding deleted graphics
-rw-r--r--sw/source/core/doc/docredln.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index a38d2faa0ed1..4b03ae604655 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docredln.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: dvo $ $Date: 2002-06-27 14:23:50 $
+ * last change: $Author: dvo $ $Date: 2002-07-03 10:29:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -3030,7 +3030,13 @@ void SwRedline::CopyToSection()
BOOL bSaveCopyFlag = pDoc->IsCopyIsMove(),
bSaveRdlMoveFlg = pDoc->IsRedlineMove();
pDoc->SetCopyIsMove( TRUE );
- pDoc->SetRedlineMove( TRUE );
+
+ // #100619# The IsRedlineMove() flag causes the behaviour of the
+ // SwDoc::_CopyFlyInFly method to change, which will eventually be
+ // called by the pDoc->Copy line below (through SwDoc::_Copy,
+ // SwDoc::CopyWithFlyInFly). This rather obscure bugfix was introduced
+ // for #63198# and #64896#, and apparently never really worked.
+ pDoc->SetRedlineMove( pStt->nContent == 0 );
if( pCSttNd )
{