test/source/screenshot_test.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit ffcedb264901e89dee28e12b6ccdd497a86f26f2 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Sep 23 10:55:55 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Sep 23 15:37:01 2019 +0200 toggle default away from legacy Change-Id: If89fec63d91f4d3df38a365a606036517e6b1c37 Reviewed-on: https://gerrit.libreoffice.org/79392 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index 658e6fa47e97..b2173b57bf25 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -191,11 +191,11 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription) { VclPtr<vcl::Window> aOwnedToplevel; - bool bLegacy; - bLegacy = rUIXMLDescription != "cui/ui/textanimtabpage.ui" && - rUIXMLDescription != "cui/ui/areatabpage.ui" && - rUIXMLDescription != "cui/ui/personalization_tab.ui" && - rUIXMLDescription != "modules/schart/ui/tp_3D_SceneIllumination.ui"; + bool bLegacy = rUIXMLDescription == "fps/ui/remotefilesdialog.ui" || + rUIXMLDescription == "modules/swriter/ui/sidebarstylepresets.ui" || + rUIXMLDescription == "modules/swriter/ui/sidebartheme.ui" || + rUIXMLDescription == "sfx/ui/startcenter.ui" || + rUIXMLDescription == "svx/ui/datanavigator.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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits