sw/source/core/crsr/crossrefbookmark.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 7e88182f673900f214b855f1c9563e63ba43eaca Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jun 12 16:20:01 2014 +0200 Avoid "must return a value" warnings Change-Id: I2b8ac2204ec4f47dcce033da18e31b8bb5285552 diff --git a/sw/source/core/crsr/crossrefbookmark.cxx b/sw/source/core/crsr/crossrefbookmark.cxx index 6154e1c..89c5471 100644 --- a/sw/source/core/crsr/crossrefbookmark.cxx +++ b/sw/source/core/crsr/crossrefbookmark.cxx @@ -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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits