Kaydet (Commit) 7e88182f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid "must return a value" warnings

Change-Id: I2b8ac2204ec4f47dcce033da18e31b8bb5285552
üst 53dae3d9
......@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include <cstdlib>
#include <IDocumentMarkAccess.hxx>
#include <crossrefbookmark.hxx>
#include <ndtxt.hxx>
......@@ -59,7 +63,7 @@ namespace sw { namespace mark
OSL_PRECOND(false,
"<sw::mark::CrossRefBookmark::GetOtherMarkPos(..)>"
" - this should never be called!");
abort();
for (;;) { std::abort(); } // avoid "must return a value" warnings
}
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