[Libreoffice-commits] core.git: test/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Nov 17 08:59:29 UTC 2016


 test/source/screenshot_test.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c1e0dffbe2db3b4459c4d57dbf337b75c7c392d4
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu Nov 17 00:47:33 2016 +0100

    Use ProductName as fallback for dialog title
    
    Change-Id: Iabdcc0730ccef444119f6fdb752e0470dc16fed5
    Reviewed-on: https://gerrit.libreoffice.org/30915
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 2077344..b4e8633 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -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);


More information about the Libreoffice-commits mailing list