summaryrefslogtreecommitdiffstats
path: root/libreofficekit
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx4
1 files changed, 2 insertions, 2 deletions
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 <gtk/gtk.h>
-#include <cassert>
#include <cmath>
#include <iostream>
@@ -21,6 +20,7 @@
#include <map>
#include <boost/property_tree/json_parser.hpp>
#include <o3tl/optional.hxx>
+#include <o3tl/unreachable.hxx>
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);