Change-Id: I8ac3024a3865a5e2e45d9eca70f1ca5e067971c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177495
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2024-11-28 16:27:56 +01:00 committed by Julien Nabet
parent 7489c032a3
commit 2fd5fc442b

View file

@ -3981,7 +3981,7 @@ void SwContentTree::ExecCommand(std::u16string_view rCmd, bool bOutlineWithChild
nFirstRegularDocContentOutlineNodePos == SwOutlineNodes::npos)))
{
// except inline headings, i.e. Inline Heading frames with
// single outlines, and achored as characters, which headings
// single outlines, and anchored as characters, which headings
// are movable with their anchor node, if they are
// 1) not in other frames or 2) not in tables and 3) not protected
const SwNode* pRootNode = nHasInlineHeading > 0