summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 14:26:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-20 13:50:28 +0200
commit9f46a103cbc7d3d7f7c1754d1aabfad6260d260f (patch)
treea46029c6ee771b390e4e5a57eb1e79292e0a7c27 /svx/source/fmcomp
parentb893e3a63f899e276ebb5c88c9458ebed2eb08a0 (diff)
ensure m_aMutex ctor called before m_aMutex used
Change-Id: I3d05831947b955b63f351180193bcf1585589c25 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>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 30b2aa76cfa3..a00d153fb648 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)
@@ -1038,7 +1039,6 @@ FmXGridPeer::FmXGridPeer(const Reference< XComponentContext >& _rxContext)
,m_aMode( getDataModeIdentifier() )
,m_nCursorListening(0)
,m_bInterceptingDispatch(false)
- ,m_xContext(_rxContext)
{
// Create must be called after this constructor
m_pGridListener.reset( new GridListenerDelegator( this ) );