diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-06-11 15:33:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-06-11 16:08:34 +0200 |
commit | 2da8a60702c0f9fac6752573dce95a5596c5688e (patch) | |
tree | b22592ade0e537cee85dac395fdc6fc2dd3376ff /sw/inc/IMark.hxx | |
parent | 14560264becc0b334f06f7af62c61c77809d4eda (diff) |
Revert "Change sw::mark::IMark::GetOtherMarkPos return type from ref
... to pointer"
CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().
This reverts commit dcf0ac048ce745774f401ada72b051757298c559.
Change-Id: I55b4accb4f42031df5671e8a30897e3aff9b56f9
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 72cdad19dfaf..13c1e00ffff2 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; |