summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-05-05 22:13:03 -0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-05-07 14:45:00 +0200
commit912beb5b51689301ab31b4619ca4b39f67e8aaa4 (patch)
tree3b2d05e9885057328081ea8625ed035ccda7d910 /test
parent695a4302800b63c263d70ec16c325070604b0aee (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'test')
-rw-r--r--test/source/screenshot_test.cxx4
1 files changed, 1 insertions, 3 deletions
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()