summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2017-12-01 21:56:55 +0000
committerJan Holesovsky <kendy@collabora.com>2017-12-13 20:26:37 +0100
commitd83b5a462412acbad86ecb31685159015374ffbb (patch)
tree115722b35e5c3bb527be02921fa62ab1ecb9e503 /framework
parentUse ImplIsFloatingWindow instead of dynamic_cast (diff)
downloadcore-d83b5a462412acbad86ecb31685159015374ffbb.tar.gz
core-d83b5a462412acbad86ecb31685159015374ffbb.zip
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>
Diffstat (limited to 'framework')
-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 5104c242c791..6db06f656edf 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>
@@ -90,6 +91,8 @@ private:
GlobalAcceleratorConfiguration::GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext)
: GlobalAcceleratorConfiguration_BASE(xContext)
{
+ // force keyboard string registration.
+ KeyMapping::get();
}
void GlobalAcceleratorConfiguration::fillCache()