summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-13 19:34:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-14 11:21:33 +0000
commit34a7f06ab3e2da22aca44f7689d0f0748a615771 (patch)
treef56d62ba63c2854e49f6f8dd46087f86d840b9de /sfx2
parent45f554a49d95c6290250f00e14a414f0c0ed8fa0 (diff)
That's probably not meant to be a C++ reference to a uno::Reference
...as introduced with e75f6e549eb825c310d16d11babf0fba5ee7fd7a "sfx2: make SfxClassificationHelper not require a full doc shell". Made CppunitTest_sfx2_classification crash now when dereferencing m_xDocumentProperties in SfxClassificationHelper::Impl::pushToDocumentProperties, when built with a recent Clang trunk build. Change-Id: Id0b7fa0627b9642f748f07d7dfa05353114225fa (cherry picked from commit e90b004a41153770e672bb1d4524852499ab0ca5) Reviewed-on: https://gerrit.libreoffice.org/32002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/classificationhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 0a6974f52a70..cb6ece74c30a 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -334,7 +334,7 @@ public:
std::map<SfxClassificationPolicyType, SfxClassificationCategory> m_aCategory;
/// Possible categories of a policy to choose from.
std::vector<SfxClassificationCategory> m_aCategories;
- const uno::Reference<document::XDocumentProperties>& m_xDocumentProperties;
+ uno::Reference<document::XDocumentProperties> m_xDocumentProperties;
explicit Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
void parsePolicy();