Change-Id: I4f73bed05f994769f2c9b12e49e4102b3af6fc6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103321
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2020-09-24 17:26:29 +02:00
committed by Julien Nabet
parent 881aca8eb1
commit c103ff090b

View File

@@ -1416,10 +1416,10 @@ Reference< XShape > const & Shape::createAndInsert(
// When upright is set, we want the text without any rotation.
// But if we set 0 here, the text is still rotated if the
// shape containing it is rotated.
// Hence, we rotate the text into the the opposite direction of
// Hence, we rotate the text into the opposite direction of
// the rotation of the shape, by as much as the shape was rotated.
mpCustomShapePropertiesPtr->setTextRotateAngle(mnRotation / 60000);
// Also put this away in a Gabbag.
// Also put this away in a GrabBag.
putPropertyToGrabBag("Upright", Any(isUpright));
}
else