diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-05 10:41:12 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-05 10:41:12 +0100 |
commit | e375164ab042e69bd4c9f76b94a888186cb6aaab (patch) | |
tree | 6bf251ff01b4ef433a45c060aa5651df829d21c3 /svx/source/fmcomp/fmgridif.cxx | |
parent | e027faede9246e90df29e65e759cc93a3c382aae (diff) |
setColumns does a lot VCL stuff ... lock the SolarMutex
Diffstat (limited to 'svx/source/fmcomp/fmgridif.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 8fc6b0fb1a..1b78013da6 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()) |