From 7ed980aa6a57f69f039147a28da8a472811678f2 Mon Sep 17 00:00:00 2001 From: dipanshu124 Date: Fri, 19 Mar 2021 16:54:58 +0530 Subject: 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 Tested-by: Jenkins --- sw/inc/ndtxt.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc') 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 const* pContentIndexRestore); + std::function const* pContentIndexRestore); virtual SwContentNode *JoinNext() override; void JoinPrev(); -- cgit