sw/source/core/edit/edglbldc.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 9389102ee5e6adbb0f8b10f8aee60d1899d91d27
Author: Jim Raykowski <[email protected]>
AuthorDate: Mon Sep 18 12:22:02 2023 -0800
Commit: Jim Raykowski <[email protected]>
CommitDate: Tue Oct 3 03:29:39 2023 +0200
tdf#157315 Don't set mark after inserting a file in a Master document
Removes setting a mark after inserting a file. Setting a mark here
causes a selection to be made on mouse click in the document after
inserting a file which probably isn't what is expected.
Change-Id: I3e7597dfecb04c9b3cfba8081fa74dffcf0d78dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157032
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <[email protected]>
diff --git a/sw/source/core/edit/edglbldc.cxx b/sw/source/core/edit/edglbldc.cxx
index e7772379a8aa..9e71db2fd62d 100644
--- a/sw/source/core/edit/edglbldc.cxx
+++ b/sw/source/core/edit/edglbldc.cxx
@@ -153,7 +153,6 @@ void SwEditShell::InsertGlobalDocContent( const
SwGlblDocContent& rInsPos,
pMyDoc->GetIDocumentUndoRedo().StartUndo( SwUndoId::START, nullptr );
rPos.Adjust(SwNodeOffset(-1));
pMyDoc->getIDocumentContentOperations().AppendTextNode( rPos );
- pCursor->SetMark();
}
InsertSection( rNew );