summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-11 10:05:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-11 14:16:19 +0200
commit9ad05e8db4631b8c0b28a34bc3bb9a6f9ed9de92 (patch)
tree1df27a4efeb3a5d4017c308f74017b5983eeec3c /test
parent3a6f6aa7f338c053781a9d19ce8b74d0b3791d03 (diff)
fix assert in make screenshot
Change-Id: Ie6cea9a97205a54f806c7e56561f712f8a106fb9 Reviewed-on: https://gerrit.libreoffice.org/73807 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/screenshot_test.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 9385add57278..e046bc2a235d 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -192,7 +192,9 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription)
VclPtr<vcl::Window> aOwnedToplevel;
bool bLegacy;
- bLegacy = rUIXMLDescription != "cui/ui/textanimtabpage.ui" && rUIXMLDescription != "cui/ui/areatabpage.ui";
+ bLegacy = rUIXMLDescription != "cui/ui/textanimtabpage.ui" &&
+ rUIXMLDescription != "cui/ui/areatabpage.ui" &&
+ rUIXMLDescription != "modules/schart/ui/tp_3D_SceneIllumination.ui";
std::unique_ptr<VclBuilder> xBuilder(new VclBuilder(pDialog, VclBuilderContainer::getUIRootDir(), OStringToOUString(rUIXMLDescription, RTL_TEXTENCODING_UTF8), OString(), css::uno::Reference<css::frame::XFrame>(), bLegacy));
vcl::Window *pRoot = xBuilder->get_widget_root();
Dialog *pRealDialog = dynamic_cast<Dialog*>(pRoot);