diff options
author | Michael Stahl <mst@openoffice.org> | 2010-01-08 17:13:52 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-01-08 17:13:52 +0100 |
commit | 220dc1e003f4a26a2d92b6c9bb2464a9b9d63b0e (patch) | |
tree | efd80fb4622ba6e01bd704f7554465c809372403 /sw/inc/unotext.hxx | |
parent | 30bfe9b171379f987c470761acf6735a8b48fe67 (diff) |
swunolocking1: #i105557#: SwXTextRange:
try to hide the implementation detail that SwXTextRange registers at a
bookmark from its clients by using SwXTextRange::GetPositions().
Diffstat (limited to 'sw/inc/unotext.hxx')
-rw-r--r-- | sw/inc/unotext.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index 499e0620dae4..97a45ece73cf 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -93,7 +93,7 @@ private: virtual void PrepareForAttach( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange, - SwXTextRange const * const pRange, SwPaM const * const pPam); + SwPaM const & rPam); protected: @@ -136,8 +136,7 @@ public: throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); virtual bool CheckForOwnMemberMeta( - const SwXTextRange* const pRange, - const SwPaM* const pPam, bool bAbsorb) + const SwPaM & rPam, const bool bAbsorb) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); |