diff options
author | dipanshu124 <dipanshu@iitk.ac.in> | 2021-03-19 16:54:58 +0530 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-22 14:47:57 +0100 |
commit | 7ed980aa6a57f69f039147a28da8a472811678f2 (patch) | |
tree | e0e119a5c864c4b36adfc892de25d627040dcc09 /sw/inc | |
parent | d9a9f7f35e663896995625a44dc80d6c6c37cf9a (diff) |
tdf#120469 Move anchored object if enter is inserted at Para begin
Currently the anchored object stays with the empty paragraph if enter
is inserted at the beginning of paragraph. It would be better if the
anchored object moves down in this case.
Change-Id: Iacefd9b2de33522158f155fb7035f1640e8eefe1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112738
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndtxt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 29ea21a33adb..5dbbbc721f37 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -347,7 +347,7 @@ public: /// Virtual methods from ContentNode. virtual SwContentFrame *MakeFrame( SwFrame* ) override; SwTextNode * SplitContentNode(const SwPosition &, - std::function<void (SwTextNode *, sw::mark::RestoreMode)> const* pContentIndexRestore); + std::function<void (SwTextNode *, sw::mark::RestoreMode, bool AtStart)> const* pContentIndexRestore); virtual SwContentNode *JoinNext() override; void JoinPrev(); |