summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-10-16 15:17:20 +0000
committerFrank Schönheit <fs@openoffice.org>2001-10-16 15:17:20 +0000
commitd1de56bcd75f321697ab3e42c29ccdca85486a4c (patch)
treecfbedb4a59595fd7a2a27aaee08c6e9146d7840c /svx/source/fmcomp
parent6f00fdc785bac27d3ee8105f7c0a5c64adaf6bc0 (diff)
#92922# some solar mutex locking ....
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx6
1 files changed, 4 insertions, 2 deletions
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()))