summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-05 10:41:12 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-05 10:41:12 +0100
commitbe4e334c516d3d5ceb4971dfe3225a23ee3fc462 (patch)
tree0c0994b8a5246b99c251a673eac4a51cb0e5619f
parentc20822e212d940e415f32a8d7beb873bd3c714ef (diff)
setColumns does a lot VCL stuff ... lock the SolarMutex
-rw-r--r--svx/source/fmcomp/fmgridif.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index c7e19499e70a..3108a545d510 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -1727,6 +1727,8 @@ void FmXGridPeer::removeColumnListeners(const Reference< XPropertySet >& xCol)
//------------------------------------------------------------------------------
void FmXGridPeer::setColumns(const Reference< XIndexContainer >& Columns) throw( RuntimeException )
{
+ ::vos::OGuard aGuard( Application::GetSolarMutex() );
+
FmGridControl* pGrid = static_cast< FmGridControl* >( GetWindow() );
if (m_xColumns.is())