fdo#61725 add SolarMutex until it works
Change-Id: I757bbfbc4a548f17d797ac00197588bc6e2907f6
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
#include <dbaccess/dbsubcomponentcontroller.hxx>
|
#include <dbaccess/dbsubcomponentcontroller.hxx>
|
||||||
#include <tools/debug.hxx>
|
#include <tools/debug.hxx>
|
||||||
#include <unotools/pathoptions.hxx>
|
#include <unotools/pathoptions.hxx>
|
||||||
|
#include <vcl/svapp.hxx>
|
||||||
|
|
||||||
#include "UndoActions.hxx"
|
#include "UndoActions.hxx"
|
||||||
#include "UndoEnv.hxx"
|
#include "UndoEnv.hxx"
|
||||||
@@ -111,6 +112,7 @@ SdrPage* OReportModel::RemovePage(sal_uInt16 nPgNum)
|
|||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
OReportPage* OReportModel::createNewPage(const uno::Reference< report::XSection >& _xSection)
|
OReportPage* OReportModel::createNewPage(const uno::Reference< report::XSection >& _xSection)
|
||||||
{
|
{
|
||||||
|
SolarMutexGuard aSolarGuard;
|
||||||
OReportPage* pPage = new OReportPage( *this ,_xSection);
|
OReportPage* pPage = new OReportPage( *this ,_xSection);
|
||||||
InsertPage(pPage);
|
InsertPage(pPage);
|
||||||
m_pUndoEnv->AddSection(_xSection);
|
m_pUndoEnv->AddSection(_xSection);
|
||||||
|
@@ -305,6 +305,8 @@ namespace
|
|||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
void OAddFieldWindow::Update()
|
void OAddFieldWindow::Update()
|
||||||
{
|
{
|
||||||
|
SolarMutexGuard aSolarGuard;
|
||||||
|
|
||||||
if ( m_pContainerListener.is() )
|
if ( m_pContainerListener.is() )
|
||||||
m_pContainerListener->dispose();
|
m_pContainerListener->dispose();
|
||||||
m_pContainerListener = NULL;
|
m_pContainerListener = NULL;
|
||||||
|
@@ -3692,6 +3692,8 @@ IMPL_LINK( SvTreeListBox, DefaultCompare, SvSortData*, pData )
|
|||||||
void SvTreeListBox::ModelNotification( sal_uInt16 nActionId, SvTreeListEntry* pEntry1,
|
void SvTreeListBox::ModelNotification( sal_uInt16 nActionId, SvTreeListEntry* pEntry1,
|
||||||
SvTreeListEntry* pEntry2, sal_uLong nPos )
|
SvTreeListEntry* pEntry2, sal_uLong nPos )
|
||||||
{
|
{
|
||||||
|
SolarMutexGuard aSolarGuard;
|
||||||
|
|
||||||
if( nActionId == LISTACTION_CLEARING )
|
if( nActionId == LISTACTION_CLEARING )
|
||||||
CancelTextEditing();
|
CancelTextEditing();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user