diff --git a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx index 10b9de01d9a0..43037b5059f5 100644 --- a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx @@ -9,7 +9,6 @@ #include -#include #include #include @@ -21,6 +20,7 @@ #include #include #include +#include namespace { @@ -150,7 +150,7 @@ static bool gtv_calc_header_bar_draw_impl(GtkWidget* pWidget, cairo_t* pCairo) } else { - assert(false); // should never happen + O3TL_UNREACHABLE; // should never happen } gtv_calc_header_bar_draw_text(pCairo, aRectangle, rHeader.m_aText);