summaryrefslogtreecommitdiff
path: root/vcl/source/app/svdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svdata.cxx')
-rw-r--r--vcl/source/app/svdata.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 69a9db6d008d..8d5d329a7478 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -19,6 +19,7 @@
#include <string.h>
+#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <rtl/process.h>
@@ -165,7 +166,7 @@ vcl::Window *ImplGetDefaultContextWindow()
const std::locale& ImplGetResLocale()
{
ImplSVData* pSVData = ImplGetSVData();
- if (!pSVData->mbResLocaleSet)
+ if (!pSVData->mbResLocaleSet || comphelper::LibreOfficeKit::isActive())
{
pSVData->maResLocale = Translate::Create("vcl");
pSVData->mbResLocaleSet = true;