Use ProductName as fallback for dialog title
Change-Id: Iabdcc0730ccef444119f6fdb752e0470dc16fed5 Reviewed-on: https://gerrit.libreoffice.org/30915 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <vcl/abstdlg.hxx>
|
||||
#include <vcl/pngwrite.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <unotools/configmgr.hxx>
|
||||
#include <unotools/syslocaleoptions.hxx>
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
Reference in New Issue
Block a user