From d1de56bcd75f321697ab3e42c29ccdca85486a4c Mon Sep 17 00:00:00 2001 From: Frank Schönheit Date: Tue, 16 Oct 2001 15:17:20 +0000 Subject: #92922# some solar mutex locking .... --- svx/source/fmcomp/fmgridif.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'svx/source/fmcomp') diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 0d9c4501f0f7..d0d93c777f85 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmgridif.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: fs $ $Date: 2001-10-16 11:43:05 $ + * last change: $Author: fs $ $Date: 2001-10-16 16:17:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1730,6 +1730,8 @@ sal_Bool FmXGridPeer::isDesignMode() throw( ::com::sun::star::uno::RuntimeExcept //------------------------------------------------------------------------------ void FmXGridPeer::elementInserted(const ::com::sun::star::container::ContainerEvent& evt) throw( ::com::sun::star::uno::RuntimeException ) { + ::vos::OGuard aGuard( Application::GetSolarMutex() ); + FmGridControl* pGrid = (FmGridControl*) GetWindow(); // Handle Column beruecksichtigen if (!pGrid || !m_xColumns.is() || pGrid->IsInColumnMove() || m_xColumns->getCount() == ((sal_Int32)pGrid->GetModelColCount())) -- cgit