diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2023-03-16 18:50:41 +0100 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2023-03-20 17:14:33 +0000 |
commit | 790dc4d759c3a2f7f7fc513d358cc0e116e6f17a (patch) | |
tree | ac834c4eb84327bd1790360d68c4d6029c5fe11a /oox/qa/unit/export.cxx | |
parent | 403ea882af35337431e0f67aa973c5f046deb630 (diff) |
tdf#154071 UI rename gradient back to 'Rectangular'...
Commit e97e62a4707e09739f9c00f8fc4a943f0123a9cf had wrongly changed
'Rectangular' to 'Square' (API RECT, ODF rectangle) and 'Square' to
'Quadratic' (API SQUARE, ODF square).
This patch reverts 'Square' to 'Rectangular' and 'Quadratic' to
'Square (Quadratic)'. It uses 'Square (Quadratic)' instead of simple
'Square' to help users to find the correct type.
In addition, use of the wrong type names in comments is fixed.
Change-Id: Ibbd90be2cceb65c9857e473cb74c39df1b9530f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149004
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'oox/qa/unit/export.cxx')
-rw-r--r-- | oox/qa/unit/export.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/qa/unit/export.cxx b/oox/qa/unit/export.cxx index 36859548f5f6..56df90eceee1 100644 --- a/oox/qa/unit/export.cxx +++ b/oox/qa/unit/export.cxx @@ -1201,8 +1201,8 @@ CPPUNIT_TEST_FIXTURE(Test, testFontworkEllipticalGradient) CPPUNIT_TEST_FIXTURE(Test, testFontworkSquareGradient) { - // The document has a Fontwork shape with UI settings: gradient fill Type "Quadratic" (which is - // "square" in ODF and API), From Color #4963ef 40%, To Color #ffff6e 90%, Center x|y 100%|50%, + // The document has a Fontwork shape with UI settings: gradient fill Type "Square (Quadratic)", + // From Color #4963ef 40%, To Color #ffff6e 90%, Center x|y 100%|50%, // no transparency // Without fix the gradient was not exported at all. loadFromURL(u"tdf51195_Fontwork_squareGradient.odt"); @@ -1245,8 +1245,8 @@ CPPUNIT_TEST_FIXTURE(Test, testFontworkSquareGradient) CPPUNIT_TEST_FIXTURE(Test, testFontworkRectGradient) { // The document has a Fontwork shape with UI settings: solid color theme Accent 4 60% lighter, - // transparency gradient Type "Square" (which is "rectangle" in ODF and API, tdf#154071), - // Center x|y 50%|50%, Transition start 10%, Start value 70%, End value 5%. + // transparency gradient Type "Rectangular", Center x|y 50%|50%, Transition start 10%, + // Start value 70%, End value 5%. // Without fix the gradient was not exported at all. loadFromURL(u"tdf51195_Fontwork_rectGradient.odt"); |