diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index 0749abb3ddd0..456413c6eb99 100644 --- a/compilerplugins/clang/stringconstant.cxx +++ b/compilerplugins/clang/stringconstant.cxx @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -805,6 +806,8 @@ std::string StringConstant::describeChangeKind(ChangeKind kind) { return "string constant and matching length arguments"; case ChangeKind::SingleChar: return "ASCII sal_Unicode argument"; + default: + std::abort(); } }