diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-07 17:09:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-07 17:09:55 +0200 |
commit | 0ed64030f17849ea943800343003c5ec3f4f1388 (patch) | |
tree | 6cebabfc727b8474023ce53cac54b4eaea052afd /sw/source | |
parent | 55b077ca4afdc181e8998313e131448bbab723f5 (diff) |
-Werror,-Wreturn-type
Change-Id: I843b2cb12783549033fc81f82751704859139960
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/app/docstyle.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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 <sal/config.h> + +#include <cstdlib> + #include <svl/smplhint.hxx> #include <hintids.hxx> #include <svl/itemiter.hxx> @@ -1213,7 +1217,7 @@ std::unique_ptr<SfxItemSet> SwDocStyleSheet::GetItemSetForPreview() case SFX_STYLE_FAMILY_FRAME: return lcl_SwFormatToFlatItemSet(pFrameFormat); default: - assert(false); + std::abort(); } } } |