summaryrefslogtreecommitdiffstats
path: root/sw/inc/unotext.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-01-08 17:13:52 +0100
committerMichael Stahl <mst@openoffice.org>2010-01-08 17:13:52 +0100
commit220dc1e003f4a26a2d92b6c9bb2464a9b9d63b0e (patch)
treeefd80fb4622ba6e01bd704f7554465c809372403 /sw/inc/unotext.hxx
parentswunolocking1: #i105557#: fix locking for SwXTextRanges: (diff)
downloadcore-220dc1e003f4a26a2d92b6c9bb2464a9b9d63b0e.tar.gz
core-220dc1e003f4a26a2d92b6c9bb2464a9b9d63b0e.zip
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.hxx5
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);