From 0ed64030f17849ea943800343003c5ec3f4f1388 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 7 Sep 2015 17:09:55 +0200 Subject: -Werror,-Wreturn-type Change-Id: I843b2cb12783549033fc81f82751704859139960 --- sw/source/uibase/app/docstyle.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sw/source/uibase/app') diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index 6aa4b79030e7..0efcd53a2d53 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + +#include + #include #include #include @@ -1213,7 +1217,7 @@ std::unique_ptr SwDocStyleSheet::GetItemSetForPreview() case SFX_STYLE_FAMILY_FRAME: return lcl_SwFormatToFlatItemSet(pFrameFormat); default: - assert(false); + std::abort(); } } } -- cgit v1.2.3