diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-08-22 12:39:54 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-19 10:18:28 +0200 |
commit | 69d2d24b3579ad21fb1ba2746f81a02f8bbfb984 (patch) | |
tree | 246d55ac6299a44a0424e40b0b90f77a5059c98d /sw/inc/ndole.hxx | |
parent | c1c3c5cd24345e0ef909f152693f1db95d74193b (diff) |
sw: add a real create-no-frames flag to MakeCopy/MakeTextNode
SwNodes::CopyNodes calling MakeCopy() and then immediately DelFrames()
considered silly.
Apparently SwOLENode/SwGrfNode don't actually create frames anyway since
that is done via their SwFrameFormats, so they just ignore the parameter.
Change-Id: I8a8f52da1d25bb5689345e956a33aebd727e8fc7
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r-- | sw/inc/ndole.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index 93139c986526..21896f6f99c0 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -112,7 +112,7 @@ public: virtual ~SwOLENode() override; /// Is in ndcopy.cxx. - virtual SwContentNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const override; + virtual SwContentNode* MakeCopy(SwDoc*, const SwNodeIndex&, bool bNewFrames) const override; virtual Size GetTwipSize() const override; |