diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-03 14:57:12 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-04 14:46:24 +0200 |
commit | da21e9de6a71dcd1926f5bf167049bce0590515e (patch) | |
tree | 9c56228d00596f3b7ad73c9f384bde03500e9332 /toolkit | |
parent | configure.ac: always search for md5sum (diff) | |
download | core-da21e9de6a71dcd1926f5bf167049bce0590515e.tar.gz core-da21e9de6a71dcd1926f5bf167049bce0590515e.zip |
require OAccessibleContextHelper to be initialized with SolarMutex
OAccessibleContextHelper methods are locked by OExternalLockGuard
which effectively only locks its ExternalMutex (i.e. SolarMutex);
so ensure that all sub-classes actually pass in a SolarMutex
by removing the default constructor.
(since these classes are in comphelper they can only use the
SolarMutex indirectly)
This uncovers that AccessibleToolPanelDeckTabBarItem and
OAccessibleControlContext did not pass in SolarMutex before.
Change-Id: Ib9085eeee6225f7c74b158e72f04b1bf62622071
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/accessiblecontrolcontext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index 7be5732e1799..509d2ba78f27 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <toolkit/helper/vclunohelper.hxx> +#include <toolkit/helper/externallock.hxx> #include <vcl/window.hxx> //........................................................................ @@ -44,7 +45,7 @@ namespace toolkit //==================================================================== //-------------------------------------------------------------------- OAccessibleControlContext::OAccessibleControlContext() - :OAccessibleControlContext_Base( ) + : OAccessibleControlContext_Base(new VCLExternalSolarLock) { // nothing to do here, we have a late ctor } |