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

sb140: #i114718# avoid references to object across XAggregation::setDelegator boundary

üst 92c2db24
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XCloneable.hpp>
#include "rtl/ref.hxx"
//......................................................................... //.........................................................................
namespace frm namespace frm
...@@ -54,7 +55,7 @@ class OFormattedFieldWrapper : public OFormattedFieldWrapper_Base ...@@ -54,7 +55,7 @@ class OFormattedFieldWrapper : public OFormattedFieldWrapper_Base
protected: protected:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation> m_xAggregate; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation> m_xAggregate;
OEditModel* m_pEditPart; rtl::Reference< OEditModel > m_editPart;
// if we act as formatted this is used to write the EditModel part // if we act as formatted this is used to write the EditModel part
::com::sun::star::uno::Reference< ::com::sun::star::io::XPersistObject> m_xFormattedPart; ::com::sun::star::uno::Reference< ::com::sun::star::io::XPersistObject> m_xFormattedPart;
// if we act as formatted, this is the PersistObject interface of our aggregate, used // if we act as formatted, this is the PersistObject interface of our aggregate, used
......
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