From c1e0dffbe2db3b4459c4d57dbf337b75c7c392d4 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 17 Nov 2016 00:47:33 +0100 Subject: Use ProductName as fallback for dialog title Change-Id: Iabdcc0730ccef444119f6fdb752e0470dc16fed5 Reviewed-on: https://gerrit.libreoffice.org/30915 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- test/source/screenshot_test.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index 2077344199b9..b4e863392bc6 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -15,6 +15,7 @@ #include #include #include +#include #include @@ -187,7 +188,7 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription) pRealDialog = pDialog; } - pRealDialog->SetText("LibreOffice DialogScreenshot"); + pRealDialog->SetText(utl::ConfigManager::getProductName()); pRealDialog->SetStyle(pDialog->GetStyle() | WB_CLOSEABLE); dumpDialogToPath(*pRealDialog); -- cgit