diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-11 17:20:27 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-11 17:44:27 +0200 |
commit | e84f0a9b3223f49b0829f2f55dacbf11ae201c1e (patch) | |
tree | b3f91281421db817ef98f0f245273c520f0deb54 /sw/inc/IDocumentContentOperations.hxx | |
parent | ed031895f6f5b361cccc6811b53c6f2b9cfc3e23 (diff) |
Revert "Fix single node CopyRange"
This reverts commit 9099e21b89184bd4e39def497e483cac4a77ec5a.
It causes the problem that frames anchored to the same node where
redlines start or end get duplicated during Hide.
Jan-Marek said that the original mail-merge related problem this change
was fixing is now most likely fixed differently, and the test in
testMultiPageAnchoredDraws() still passes.
Change-Id: Ie84fed3f64be7696782bc557004eb18fccc5b64b
Diffstat (limited to 'sw/inc/IDocumentContentOperations.hxx')
-rw-r--r-- | sw/inc/IDocumentContentOperations.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/IDocumentContentOperations.hxx b/sw/inc/IDocumentContentOperations.hxx index 91ca8ce45d0d..75b4f841c28d 100644 --- a/sw/inc/IDocumentContentOperations.hxx +++ b/sw/inc/IDocumentContentOperations.hxx @@ -79,6 +79,9 @@ public: The position can be in the same or in an another document. It can also be within the range! + \warning The range has to include at least two nodes or has to be a + SwDoc::IsColumnSelection! + Normally this function should work only with content nodes. But there is a special case used by SwDoc::Paste, which starts the SwPaM at the content start node. This position doesn't contain any content: |