diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-13 15:33:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-13 15:33:46 +0000 |
commit | a1426bc54b11eb48fdefaf7e8dfd7996e5c7e4d5 (patch) | |
tree | e6279dcde35f0cfece0335d0e1e12de1189de9cc /lotuswordpro/source/filter/lwplayout.hxx | |
parent | ad23fb096d8f65346bf5f0f5095f718532a32941 (diff) |
use more references to fix life cycles
Change-Id: I0c903533542608c1d7a3c97e2be7f2b7624b265b
Diffstat (limited to 'lotuswordpro/source/filter/lwplayout.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx index 1419043c6dcf..053f6beb0ecc 100644 --- a/lotuswordpro/source/filter/lwplayout.hxx +++ b/lotuswordpro/source/filter/lwplayout.hxx @@ -254,7 +254,7 @@ public: LwpAssociatedLayouts(){} void Read(LwpObjectStream* pStrm); LwpObjectID& GetOnlyLayout() { return m_OnlyLayout;} - LwpVirtualLayout* GetLayout(LwpVirtualLayout* pStartLayout); + rtl::Reference<LwpVirtualLayout> GetLayout(LwpVirtualLayout* pStartLayout); protected: LwpObjectID m_OnlyLayout; //LwpVirtualLayout LwpDLVListHeadTail m_Layouts; |