[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sw/qa

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon May 25 14:25:27 UTC 2020


 sw/qa/extras/tiledrendering/tiledrendering.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 4a45d6713ce64320386c5fb9c47703a39218cd5a
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon May 25 16:05:53 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon May 25 16:24:47 2020 +0200

    lok: MSForms: fix form field related unit tests.
    
    Change-Id: I452175a680fe58cf6f2b0cd801659354fc83ee11
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94794
    Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 8a46bcdf4494..7cb4978be44c 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -2537,6 +2537,7 @@ void SwTiledRenderingTest::testFieldmark()
 
 void SwTiledRenderingTest::testDropDownFormFieldButton()
 {
+    comphelper::LibreOfficeKit::setActive();
     SwXTextDocument* pXTextDocument = createDoc("drop_down_form_field.odt");
     pXTextDocument->setClientVisibleArea(tools::Rectangle(0, 0, 10000, 4000));
 
@@ -2610,6 +2611,7 @@ void SwTiledRenderingTest::testDropDownFormFieldButton()
 
 void SwTiledRenderingTest::testDropDownFormFieldButtonEditing()
 {
+    comphelper::LibreOfficeKit::setActive();
     SwXTextDocument* pXTextDocument = createDoc("drop_down_form_field2.odt");
     pXTextDocument->setClientVisibleArea(tools::Rectangle(0, 0, 10000, 4000));
 
@@ -2667,6 +2669,7 @@ void SwTiledRenderingTest::testDropDownFormFieldButtonEditing()
 
 void SwTiledRenderingTest::testDropDownFormFieldButtonNoSelection()
 {
+    comphelper::LibreOfficeKit::setActive();
     SwXTextDocument* pXTextDocument = createDoc("drop_down_form_field_noselection.odt");
     pXTextDocument->setClientVisibleArea(tools::Rectangle(0, 0, 10000, 4000));
 
@@ -2702,6 +2705,7 @@ void SwTiledRenderingTest::testDropDownFormFieldButtonNoSelection()
 
 void SwTiledRenderingTest::testDropDownFormFieldButtonNoItem()
 {
+    comphelper::LibreOfficeKit::setActive();
     SwXTextDocument* pXTextDocument = createDoc("drop_down_form_field_noitem.odt");
     pXTextDocument->setClientVisibleArea(tools::Rectangle(0, 0, 10000, 4000));
 


More information about the Libreoffice-commits mailing list