diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/source/screenshot_test.cxx | 4 |
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() |