xmloff/source/text/XMLTextShapeImportHelper.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b812150696c574aea0a173d11f178e8d458b1a3e Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Mon Apr 4 20:29:07 2022 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Apr 4 20:30:18 2022 +0200 oops, forgot to fix the comment Change-Id: Ib9281395087c8b21c2693a233d77236f9353e9c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132529 Tested-by: Michael Stahl <michael.st...@allotropia.de> Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/xmloff/source/text/XMLTextShapeImportHelper.cxx b/xmloff/source/text/XMLTextShapeImportHelper.cxx index 1c567b689632..f4a62f4ad9b7 100644 --- a/xmloff/source/text/XMLTextShapeImportHelper.cxx +++ b/xmloff/source/text/XMLTextShapeImportHelper.cxx @@ -119,8 +119,7 @@ void XMLTextShapeImportHelper::addShape( // anchor type xPropSet->setPropertyValue( gsAnchorType, Any(eAnchorType) ); - // page number (must be set after the frame is inserted, because it - // will be overwritten then inserting the frame. + // page number must be set before the frame is inserted switch( eAnchorType ) { case TextContentAnchorType_AT_PAGE: