diff options
Diffstat (limited to 'sw/source/core/txtnode/ndtxt.cxx')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index ff05143b0052..1bad6a89d011 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -463,7 +463,7 @@ SwTextNode *SwTextNode::SplitContentNode(const SwPosition & rPos, bool bSplitFly = false; std::optional<std::vector<SwFrameFormat*>> oFlys = sw::GetFlysAnchoredAt(GetDoc(), GetIndex()); - if (oFlys.has_value() && nSplitPos > 0) + if (oFlys.has_value()) { // See if one of the flys is a split fly. If so, we need to keep // the potentially split text frames unchanged and create a new |