summaryrefslogtreecommitdiff
path: root/include/sfx2/viewsh.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-01-03 17:49:25 +0100
committerJan Holesovsky <kendy@collabora.com>2018-01-05 09:51:54 +0100
commit7ca3490d91a1fc4e01b34ea1a2f281968b0b1479 (patch)
tree04f48387cc631224db3fa3b7b3a2f6fe4afd6c06 /include/sfx2/viewsh.hxx
parent028fd03cdf4d3d8072289a5c4d476435c18f90d0 (diff)
lokdialog: Use only one of the installed langpacks when setting locale.
Change-Id: I446775b121b7806a549f4dbbaa1f2dcf019d9bc2 Reviewed-on: https://gerrit.libreoffice.org/47386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include/sfx2/viewsh.hxx')
-rw-r--r--include/sfx2/viewsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 0c83f5faee15..e7a0f6d7fec1 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -344,7 +344,7 @@ public:
virtual vcl::Window* GetEditWindowForActiveOLEObj() const override;
/// Set the LibreOfficeKit language of this view.
- void SetLOKLanguageTag(const OUString& rBcp47LanguageTag) { maLOKLanguageTag = LanguageTag(rBcp47LanguageTag, true); }
+ void SetLOKLanguageTag(const OUString& rBcp47LanguageTag);
/// Get the LibreOfficeKit language of this view.
const LanguageTag& GetLOKLanguageTag() const { return maLOKLanguageTag; }
};