diff options
Diffstat (limited to 'reportdesign/source/core/sdr/RptModel.cxx')
-rw-r--r-- | reportdesign/source/core/sdr/RptModel.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reportdesign/source/core/sdr/RptModel.cxx b/reportdesign/source/core/sdr/RptModel.cxx index 9553291b1127..640018bb7b70 100644 --- a/reportdesign/source/core/sdr/RptModel.cxx +++ b/reportdesign/source/core/sdr/RptModel.cxx @@ -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); |