diff options
-rw-r--r-- | svx/source/form/fmdpage.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx index 8d87f611b368..bcdd906f83f5 100644 --- a/svx/source/form/fmdpage.cxx +++ b/svx/source/form/fmdpage.cxx @@ -22,6 +22,7 @@ #include <svx/fmglob.hxx> #include <svx/fmdpage.hxx> #include <svx/unoshape.hxx> +#include <vcl/svapp.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/typeprovider.hxx> @@ -92,6 +93,8 @@ css::uno::Reference< css::drawing::XShape > SvxFmDrawPage::CreateShape( SdrObje // XFormsSupplier css::uno::Reference< css::container::XNameContainer > SAL_CALL SvxFmDrawPage::getForms() { + SolarMutexGuard g; + css::uno::Reference< css::container::XNameContainer > xForms; FmFormPage *pFmPage = dynamic_cast<FmFormPage*>( GetSdrPage() ); @@ -104,6 +107,8 @@ css::uno::Reference< css::container::XNameContainer > SAL_CALL SvxFmDrawPage::ge // XFormsSupplier2 sal_Bool SAL_CALL SvxFmDrawPage::hasForms() { + SolarMutexGuard g; + bool bHas = false; FmFormPage* pFormPage = dynamic_cast<FmFormPage*>( GetSdrPage() ); if ( pFormPage ) |