Kaydet (Commit) 3070914c authored tarafından Michael Stahl's avatar Michael Stahl

avoid undefined null-reference in CrossRefBookmark::GetOtherMarkPos()

CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().

Change-Id: Ie8e141d661b870573092d20bd85fa1ae04506421
üst 2da8a607
......@@ -59,7 +59,7 @@ namespace sw { namespace mark
OSL_PRECOND(false,
"<sw::mark::CrossRefBookmark::GetOtherMarkPos(..)>"
" - this should never be called!");
return *static_cast<SwPosition*>(NULL);
abort();
}
CrossRefHeadingBookmark::CrossRefHeadingBookmark(const SwPaM& rPaM,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment