summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2017-12-01 21:56:55 +0000
committerJan Holesovsky <kendy@collabora.com>2018-01-25 10:08:19 +0100
commit5fc484a786a04d65811518b7effab66925dcec72 (patch)
tree9a798ae0d79a16cb22fba69bf3d7e1085dded8c1 /framework/source
parentfa72a3379d3641565ddab561d32d0a7d03b83665 (diff)
Initialize more for sharing during pre-init.
Change-Id: I12b90504ec9161318683ebad8f8e4dd1e614da89 Reviewed-on: https://gerrit.libreoffice.org/46120 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/48510
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/accelerators/globalacceleratorconfiguration.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx
index 36691cb3f2d7..2a05887f7c98 100644
--- a/framework/source/accelerators/globalacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx
@@ -19,6 +19,7 @@
#include <accelerators/acceleratorconfiguration.hxx>
#include <accelerators/presethandler.hxx>
+#include <accelerators/keymapping.hxx>
#include <helper/mischelper.hxx>
#include <acceleratorconst.h>
@@ -81,6 +82,8 @@ private:
GlobalAcceleratorConfiguration::GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext)
: GlobalAcceleratorConfiguration_BASE(xContext)
{
+ // force keyboard string registration.
+ KeyMapping::get();
}
void GlobalAcceleratorConfiguration::fillCache()