summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2010-08-18 10:52:09 +0200
committerCarsten Driesner <cd@openoffice.org>2010-08-18 10:52:09 +0200
commitd40c2239e14027cef7c281830616c3deacbc9174 (patch)
treed57a3f36a4e6f61651f99bcf85e3a39580f70e2a /framework/source/accelerators
parentb3a5ee2e9cc75c522abc81f7a6e0dd8e963b2a96 (diff)
fwk153: #i110127# Provide one instance of module accelerator manager in module ui configuration manager implementation.
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index e63c41173df6..aae610f0e3dd 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -1246,12 +1246,13 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::changesOccurred(const css::util:
if (! xHAccess.is ())
return;
- const sal_Int32 c = aEvent.Changes.getLength();
+ css::util::ChangesEvent aReceivedEvents( aEvent );
+ const sal_Int32 c = aReceivedEvents.Changes.getLength();
sal_Int32 i = 0;
for (i=0; i<c; ++i)
{
- const css::util::ElementChange& aChange = aEvent.Changes[i];
+ const css::util::ElementChange& aChange = aReceivedEvents.Changes[i];
// Only path of form "PrimaryKeys/Modules/Module['<module_name>']/Key['<command_url>']/Command[<locale>]" will
// be interesting for use. Sometimes short path values are given also by the broadcaster ... but they must be ignored :-)