Kaydet (Commit) e90b004a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

That's probably not meant to be a C++ reference to a uno::Reference

...as introduced with e75f6e54 "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
üst a4dc0ce3
...@@ -331,7 +331,7 @@ public: ...@@ -331,7 +331,7 @@ public:
std::map<SfxClassificationPolicyType, SfxClassificationCategory> m_aCategory; std::map<SfxClassificationPolicyType, SfxClassificationCategory> m_aCategory;
/// Possible categories of a policy to choose from. /// Possible categories of a policy to choose from.
std::vector<SfxClassificationCategory> m_aCategories; 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); explicit Impl(const uno::Reference<document::XDocumentProperties>& xDocumentProperties);
void parsePolicy(); void parsePolicy();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment