summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-02-22 21:06:05 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-23 01:59:40 +0100
commit599472a13e3c5ba669d995c913ad415bd674a16c (patch)
treec4650806ab970bdd9d7ba2e94160bc9803914080 /sd
parentb129443eeddab30b31c07bb8c544adaa80785046 (diff)
at least fix the crash when calling SdXImpressDocument::dispose for now
Can an experienced Impress developer please check the crash? Change-Id: I84f532dde6aa61b997b949f6d7ef55026ced604c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 36597d6eaaad..27b32360f469 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2250,8 +2250,8 @@ void SAL_CALL SdXImpressDocument::dispose() throw (::com::sun::star::uno::Runtim
// that dispose() is called again. It is important to forward this
// second dispose() to the base class, too.
// As a consequence the following code has to be able to be run twice.
- SfxBaseModel::dispose();
mbDisposed = true;
+ SfxBaseModel::dispose();
uno::Reference< container::XNameAccess > xStyles(mxStyleFamilies);
if( xStyles.is() )