summaryrefslogtreecommitdiff
path: root/uitest/impress_tests
diff options
context:
space:
mode:
authorTibor Nagy <nagy.tibor2@nisz.hu>2022-12-08 11:37:47 +0100
committerLászló Németh <nemeth@numbertext.org>2022-12-19 12:20:08 +0000
commit4a4f58f06f802e7bc057e0a6e7180b595bd4a379 (patch)
treea88c1d1405bbf2c16eca0c9c717129529f9f1055 /uitest/impress_tests
parentb12e38c1ccb388e62e35d856d4a575e1724a10e9 (diff)
tdf#152295 sw sd UI: don't reset tiled image size by Area tab
The background tiling images become larger when opening and closing Area tab: reopening the image properties in the Area tab shows that the Width and Height got reset to the original values of the image. Regression from commit 686349476e03f951f4a9ff9755b9f71951b64ea5 "[GSoC] Move all fill style tabs inside area tab". Change-Id: Ibc4dfd73dedd81b1b7fe17574198dd4999aab967 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143819 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'uitest/impress_tests')
-rw-r--r--uitest/impress_tests/backgrounds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/impress_tests/backgrounds.py b/uitest/impress_tests/backgrounds.py
index b1b2f950f16d..e427995bfac2 100644
--- a/uitest/impress_tests/backgrounds.py
+++ b/uitest/impress_tests/backgrounds.py
@@ -75,9 +75,9 @@ class ImpressBackgrounds(UITestCase):
self.assertEqual(
document.DrawPages.getByIndex(0).Background.FillBitmapLogicalSize, True)
self.assertEqual(
- document.DrawPages.getByIndex(0).Background.FillBitmapSizeX, 0)
+ document.DrawPages.getByIndex(0).Background.FillBitmapSizeX, 2540)
self.assertEqual(
- document.DrawPages.getByIndex(0).Background.FillBitmapSizeY, 0)
+ document.DrawPages.getByIndex(0).Background.FillBitmapSizeY, 2540)
self.assertEqual(document.DrawPages.getByIndex(0).Background.FillBitmapName, 'Painted White')
elif btn == 'btnpattern':
self.assertEqual(