summaryrefslogtreecommitdiff
path: root/sw/source/uibase
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 /sw/source/uibase
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 'sw/source/uibase')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 9a63b496b8f1..83fd4ba778ba 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -4285,7 +4285,7 @@ void SwXDocumentPropertyHelper::Invalidate()
xMarkerTable = nullptr;
xDrawDefaults = nullptr;
m_pDoc = nullptr;
- SvxUnoForbiddenCharsTable::mxForbiddenChars.clear();
+ SvxUnoForbiddenCharsTable::mxForbiddenChars.reset();
}
void SwXDocumentPropertyHelper::onChange()