diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 19:21:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 19:44:04 +0200 |
commit | dcf0ac048ce745774f401ada72b051757298c559 (patch) | |
tree | 2f2e33b11d7b1685b1377edf11ad891a74daeeb2 /sw/inc/IMark.hxx | |
parent | 607218e88f8bfe95d0ee13fb7dcc6fa3c94b31e8 (diff) |
Change sw::mark::IMark::GetOtherMarkPos return type from ref to pointer
...so CrossRefBookmark::GetOtherMarkPos can legitimately return a null pointer
Change-Id: I88774cf0d139d017d67d6727ee01214997a73636
Diffstat (limited to 'sw/inc/IMark.hxx')
-rw-r--r-- | sw/inc/IMark.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx index 13c1e00ffff2..72cdad19dfaf 100644 --- a/sw/inc/IMark.hxx +++ b/sw/inc/IMark.hxx @@ -41,7 +41,7 @@ namespace sw { namespace mark virtual const SwPosition& GetMarkPos() const =0; // GetOtherMarkPos() is only guaranteed to return a valid // reference if IsExpanded() returned true - virtual const SwPosition& GetOtherMarkPos() const =0; + virtual const SwPosition* GetOtherMarkPos() const =0; virtual const SwPosition& GetMarkStart() const =0; virtual const SwPosition& GetMarkEnd() const =0; virtual const OUString& GetName() const =0; |