summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/DataTableItemConverter.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-04-16 17:59:25 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2024-06-20 10:57:18 +0200
commit494161a9c8a9acca4d200d06c44ef6db794c0bea (patch)
treeadd43c07d4493a53ac504cc66ddb398d31fc2944 /chart2/source/controller/inc/DataTableItemConverter.hxx
parentafb4ea67463d9f0200dc6216cfd932aec0984c82 (diff)
cool#9309 lok: sync language in comphelper::LibreOfficeKit on view creation
If new view is created using createViewWithOptions API call we pass language of that view. We do a setup of that language in SfxLokHelper::setViewLanguage but it was only set inside ViewShell. Unfortunately just after we create the view we call setView which later checks if comphelper::LibreOfficeKit::getLanguageTag() has matching value with ViewShell field. It was showing warning in the logs: warn:lok:31748:31654:sfx2/source/view/lokhelper.cxx:206: LANGUAGE mismatch at setView! ... old (wrong) lang:de new lang:fr Let's check if the view we try to modify is the current one and in that case synchronize value we can get using global comphelper::LibreOfficeKit function. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Icddfda003522dda661066c4d1c43ca1dec9e5c55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169107 (cherry picked from commit 800d8580ec8d99f5c610727a9d53ab143019c014) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169144 Tested-by: Jenkins
Diffstat (limited to 'chart2/source/controller/inc/DataTableItemConverter.hxx')
0 files changed, 0 insertions, 0 deletions
+0200'>2013-11-17WaE: 'PATH_MAX' : macro redefinitionTor Lillqvist 2013-11-16Fix for VS 2013 compilationJesús Corrius 2013-08-30WaE: size_t/unsigned int: possible loss of dataTor Lillqvist 2013-08-22left shift of 1 by 31 places cannot be represented in type 'int'Stephan Bergmann 2013-08-21We don't seem to actually need glibc getoptTor Lillqvist 2013-07-14Mark as constTakeshi Abe 2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl 2013-04-24error: too many arguments in call to 'pr_dummy' [-Werror]Stephan Bergmann 2013-04-24gbuild: get rid of processdeps.awkMichael Stahl 2013-04-09add external for unistd.hDavid Tardon 2013-03-27-Wunused-macrosStephan Bergmann