summaryrefslogtreecommitdiff
path: root/include/svx/svdmodel.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-04 15:05:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-06 09:28:10 +0200
commit12a3f5cefeaeb842507dd8038597fb77ca929dd1 (patch)
treec1d496a275fceb1b2fda406f13acca71d9e6947a /include/svx/svdmodel.hxx
parentab9b38a4064141705aa3a3de9a5d73b465ad3af3 (diff)
rework as a shared_ptr
mostly to try and track down a crash on exit of sw uwriter under windows Change-Id: Id67e93863056da319dd8225038d60a7f5783b103 Reviewed-on: https://gerrit.libreoffice.org/39604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r--include/svx/svdmodel.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 95e613ef767d..b9210f5d072d 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -194,7 +194,7 @@ protected:
public:
- rtl::Reference<SvxForbiddenCharactersTable> mpForbiddenCharactersTable;
+ std::shared_ptr<SvxForbiddenCharactersTable> mpForbiddenCharactersTable;
SdrSwapGraphicsMode nSwapGraphicsMode;
SdrOutlinerCache* mpOutlinerCache;
@@ -522,8 +522,8 @@ public:
bool isLocked() const { return mbModelLocked; }
void setLock( bool bLock );
- void SetForbiddenCharsTable( const rtl::Reference<SvxForbiddenCharactersTable>& xForbiddenChars );
- const rtl::Reference<SvxForbiddenCharactersTable>& GetForbiddenCharsTable() const { return mpForbiddenCharactersTable;}
+ void SetForbiddenCharsTable( const std::shared_ptr<SvxForbiddenCharactersTable>& xForbiddenChars );
+ const std::shared_ptr<SvxForbiddenCharactersTable>& GetForbiddenCharsTable() const { return mpForbiddenCharactersTable;}
void SetCharCompressType( CharCompressType nType );
CharCompressType GetCharCompressType() const { return mnCharCompressType; }