fdo#61725 add SolarMutex until it works

Change-Id: I757bbfbc4a548f17d797ac00197588bc6e2907f6
This commit is contained in:
Lionel Elie Mamane
2013-07-03 21:34:26 +02:00
parent e6aabd119c
commit c63b74d22d
3 changed files with 6 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#include <dbaccess/dbsubcomponentcontroller.hxx>
#include <tools/debug.hxx>
#include <unotools/pathoptions.hxx>
#include <vcl/svapp.hxx>
#include "UndoActions.hxx"
#include "UndoEnv.hxx"
@@ -111,6 +112,7 @@ SdrPage* OReportModel::RemovePage(sal_uInt16 nPgNum)
// -----------------------------------------------------------------------------
OReportPage* OReportModel::createNewPage(const uno::Reference< report::XSection >& _xSection)
{
SolarMutexGuard aSolarGuard;
OReportPage* pPage = new OReportPage( *this ,_xSection);
InsertPage(pPage);
m_pUndoEnv->AddSection(_xSection);

View File

@@ -305,6 +305,8 @@ namespace
//-----------------------------------------------------------------------
void OAddFieldWindow::Update()
{
SolarMutexGuard aSolarGuard;
if ( m_pContainerListener.is() )
m_pContainerListener->dispose();
m_pContainerListener = NULL;

View File

@@ -3692,6 +3692,8 @@ IMPL_LINK( SvTreeListBox, DefaultCompare, SvSortData*, pData )
void SvTreeListBox::ModelNotification( sal_uInt16 nActionId, SvTreeListEntry* pEntry1,
SvTreeListEntry* pEntry2, sal_uLong nPos )
{
SolarMutexGuard aSolarGuard;
if( nActionId == LISTACTION_CLEARING )
CancelTextEditing();