diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-09-02 03:39:36 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-09-02 04:44:13 +0200 |
commit | cb14008337e7b7ebbc0b5724f98ac9633e1b9331 (patch) | |
tree | 2776246950b5ad1a1cdb11d6bf7733cc2c4fc2ff /sc/inc | |
parent | set parent for export dialog same as save dialog (diff) | |
download | core-cb14008337e7b7ebbc0b5724f98ac9633e1b9331.tar.gz core-cb14008337e7b7ebbc0b5724f98ac9633e1b9331.zip |
make sure parent element is staying around
If we use a reference to the object we need to ensure that it not
suddenly disappears on us.
Change-Id: I7917fc696b0cc48dd26fa332c892f09727e40054
Reviewed-on: https://gerrit.libreoffice.org/41820
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/datauno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx index 34b7da848779..26afe6030065 100644 --- a/sc/inc/datauno.hxx +++ b/sc/inc/datauno.hxx @@ -209,7 +209,7 @@ class ScSubTotalFieldObj : public cppu::WeakImplHelper< css::lang::XServiceInfo > { private: - ScSubTotalDescriptorBase& rParent; + rtl::Reference<ScSubTotalDescriptorBase> xParent; sal_uInt16 nPos; public: |