aaf6ce108e
Create two Calc views, set the first view language to English, second
view language to German. Type in the English view, double-click on a
chart in the German view. The sidebar in the German view will have
English strings in it. This doesn't happen if there is no typing right
after the chart activation in the English view.
What happens is that the sidebar update is async, and
sfx2::sidebar::SidebarController::notifyContextChangeEvent() gets
called, which registers an aync event when it calls
AsynchronousCall::RequestCall(). Then later this job gets scheduled, but
possibly by that time the active view is the English one, leading to
English strings when chart::ColumnChartDialogController::getName() calls
SchResId(), which works from the language of the current view.
Fix the problem similar to what commit
|
||
---|---|---|
.. | ||
a11y | ||
beans | ||
chart | ||
container | ||
document | ||
drawing | ||
helper | ||
lang | ||
sheet | ||
style | ||
table | ||
text | ||
util | ||
view | ||
bootstrapfixture.hxx | ||
callgrind.hxx | ||
cppunitasserthelper.hxx | ||
htmltesttools.hxx | ||
lokcallback.hxx | ||
screenshot_test.hxx | ||
testdllapi.hxx | ||
testinteractionhandler.hxx | ||
unoapi_property_testers.hxx | ||
unoapi_test.hxx | ||
unoapixml_test.hxx | ||
xmldiff.hxx | ||
xmldocptr.hxx | ||
xmltesttools.hxx |