diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 14:26:36 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-26 20:30:12 +0200 |
commit | d860e6a138f08343b42f591462e85b85291b6fa8 (patch) | |
tree | cb76c2de61e066c99e32f5d0d3a12e1db732f8e4 /svx | |
parent | ed0cba9301852feca3243338297121b4231cb0e3 (diff) |
ensure m_aMutex ctor called before m_aMutex used
Reviewed-on: https://gerrit.libreoffice.org/62012
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 9f46a103cbc7d3d7f7c1754d1aabfad6260d260f)
Change-Id: I3d05831947b955b63f351180193bcf1585589c25
Reviewed-on: https://gerrit.libreoffice.org/62076
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 9dbba769b08f..bdc547a1891d 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -1030,7 +1030,8 @@ using namespace fmgridif; FmXGridPeer::FmXGridPeer(const Reference< XComponentContext >& _rxContext) - :m_aModifyListeners(m_aMutex) + :m_xContext(_rxContext) + ,m_aModifyListeners(m_aMutex) ,m_aUpdateListeners(m_aMutex) ,m_aContainerListeners(m_aMutex) ,m_aSelectionListeners(m_aMutex) @@ -1040,7 +1041,6 @@ FmXGridPeer::FmXGridPeer(const Reference< XComponentContext >& _rxContext) ,m_bInterceptingDispatch(false) ,m_pStateCache(nullptr) ,m_pDispatchers(nullptr) - ,m_xContext(_rxContext) { // Create must be called after this constructor m_pGridListener.reset( new GridListenerDelegator( this ) ); |