diff options
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 037a2cd7cc59..32249c19df99 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -736,7 +736,8 @@ uno::Reference< drawing::XDrawPages > SAL_CALL SdXImpressDocument::getMasterPage if( !xMasterPages.is() ) { - initializeDocument(); + if ( !hasControllersLocked() ) + initializeDocument(); mxMasterPagesAccess = xMasterPages = new SdMasterPagesAccess(*this); } |