diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:24:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:24:33 +0100 |
commit | ac1f0b59043a02e4d430cade3cc5b8b069feed87 (patch) | |
tree | 19dd66e48efec04f9fd23042ece87e55acd7914d /libreofficekit | |
parent | 67ec72a381d939a56fdd5e472a413bab92f4ad80 (diff) |
Silence loplugin:implicitboolconversion between bool and gboolean
Change-Id: I83ce360622eea0fb805833650c0d2126bcd5d8db
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 383f35f98a7c..87b6ca06fad2 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -2503,12 +2503,12 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom) // set properties to indicate if view can be further zoomed in/out bool bCanZoomIn = priv->m_fZoom < MAX_ZOOM; bool bCanZoomOut = priv->m_fZoom > MIN_ZOOM; - if (bCanZoomIn != priv->m_bCanZoomIn) + if (bCanZoomIn != bool(priv->m_bCanZoomIn)) { priv->m_bCanZoomIn = bCanZoomIn; g_object_notify_by_pspec(G_OBJECT(pDocView), properties[PROP_CAN_ZOOM_IN]); } - if (bCanZoomOut != priv->m_bCanZoomOut) + if (bCanZoomOut != bool(priv->m_bCanZoomOut)) { priv->m_bCanZoomOut = bCanZoomOut; g_object_notify_by_pspec(G_OBJECT(pDocView), properties[PROP_CAN_ZOOM_OUT]); |