diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-17 23:03:02 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-20 16:40:14 +0200 |
commit | f05273aa478135b199577877ecd16325e0df95d2 (patch) | |
tree | 1d37038b51d21fc220298274b6132a16e57dff37 /sw/inc/unoparagraph.hxx | |
parent | 7a3716bd7b90587974b50455c927bc330c2a6a63 (diff) |
fdo#72695: avoid double-free race condition for SwXParagraph
Change-Id: Ie207d9400bc3a55e17497b309dfbc263e7b12e30
Diffstat (limited to 'sw/inc/unoparagraph.hxx')
-rw-r--r-- | sw/inc/unoparagraph.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/unoparagraph.hxx b/sw/inc/unoparagraph.hxx index ede6304de43c..c8dbda94ef13 100644 --- a/sw/inc/unoparagraph.hxx +++ b/sw/inc/unoparagraph.hxx @@ -77,14 +77,14 @@ private: SwTxtNode & rTxtNode, const sal_Int32 nSelStart = -1, const sal_Int32 nSelEnd = - 1); -public: - /// descriptor SwXParagraph(); +public: + static ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent> - CreateXParagraph(SwDoc & rDoc, SwTxtNode& rTxtNode, + CreateXParagraph(SwDoc & rDoc, SwTxtNode * pTxtNode, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText> const& xParentText = 0, const sal_Int32 nSelStart = -1, const sal_Int32 nSelEnd = - 1); |