summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-18 16:46:42 +0000
committerSzymon Kłos <eszkadev@gmail.com>2020-06-03 12:28:38 +0200
commit27643882a5c1aaeea96e25aa5cbc061574eb84d2 (patch)
tree1bbed26ae75954d9a6dbacc3019dedf9b3399091 /test
parentf6e054bd47b84abc2235594bc9677e4b3d3ffa3e (diff)
these .ui no longer need special handling
Change-Id: I1b112ea6780ff5da2b8aa86f8039b47e98219f08 Reviewed-on: https://gerrit.libreoffice.org/85407 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.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 6f4d49cc88bd..80c0b05abf15 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -220,14 +220,7 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription)
rUIXMLDescription == "modules/dbreport/ui/conditionwin.ui";
if (bNonConforming) // skip these broken ones
return;
- bool bLegacy = rUIXMLDescription == "fps/ui/explorerfiledialog.ui" ||
- rUIXMLDescription == "fps/ui/remotefilesdialog.ui" ||
- rUIXMLDescription == "sfx/ui/floatingrecord.ui";
- std::unique_ptr<weld::Builder> xBuilder;
- if (bLegacy)
- xBuilder.reset(Application::CreateInterimBuilder(mxParentWidget.get(), OStringToOUString(rUIXMLDescription, RTL_TEXTENCODING_UTF8)));
- else
- xBuilder.reset(Application::CreateBuilder(mxParentWidget.get(), OStringToOUString(rUIXMLDescription, RTL_TEXTENCODING_UTF8)));
+ std::unique_ptr<weld::Builder> xBuilder(Application::CreateBuilder(mxParentWidget.get(), OStringToOUString(rUIXMLDescription, RTL_TEXTENCODING_UTF8)));
dumpDialogToPath(*xBuilder);
}
}