[Libreoffice-commits] core.git: test/source
Olivier Hallot
olivier.hallot at libreoffice.org
Mon May 7 12:45:21 UTC 2018
test/source/screenshot_test.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 912beb5b51689301ab31b4619ca4b39f67e8aaa4
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date: Sat May 5 22:13:03 2018 -0300
Make screenshot folders = ALL_LANGS
Makes it easier to copy to help media files.
Change-Id: I0f0c9272fbc0f8df826af74ff79bfbb171a17a65
Reviewed-on: https://gerrit.libreoffice.org/53903
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 558e4f160890..9dce8bf09c45 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -16,7 +16,6 @@
#include <vcl/pngwrite.hxx>
#include <vcl/svapp.hxx>
#include <unotools/configmgr.hxx>
-#include <unotools/syslocaleoptions.hxx>
namespace {
@@ -39,8 +38,7 @@ ScreenshotTest::ScreenshotTest()
: m_aScreenshotDirectory("screenshots"),
maKnownDialogs()
{
- SvtSysLocaleOptions localeOptions;
- maCurrentLanguage = localeOptions.GetRealUILanguageTag().getBcp47();
+ maCurrentLanguage = OUString::fromUtf8(getenv("LO_TEST_LOCALE"));
}
ScreenshotTest::~ScreenshotTest()
More information about the Libreoffice-commits
mailing list