From b812150696c574aea0a173d11f178e8d458b1a3e Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 4 Apr 2022 20:29:07 +0200 Subject: oops, forgot to fix the comment Change-Id: Ib9281395087c8b21c2693a233d77236f9353e9c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132529 Tested-by: Michael Stahl Reviewed-by: Michael Stahl --- xmloff/source/text/XMLTextShapeImportHelper.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmloff') 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: -- cgit