[Libreoffice-commits] core.git: libreofficekit/qa
Miklos Vajna
vmiklos at collabora.co.uk
Tue Apr 14 04:04:45 PDT 2015
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 36ff8bf48b9384b91f2999bc18b567864226125d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Apr 14 14:03:37 2015 +0300
WaE: implicit conversion (IntegralCast) from bool to 'int'
Change-Id: I228c0bca3133e94b28db2540dbd41e8b4fd1eee9
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 0e8ad7e..ae867fe 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -135,7 +135,7 @@ static void signalCommand(LOKDocView* /*pLOKDocView*/, char* pPayload, gpointer
if (g_aCommandNameToolItems.find(aKey) != g_aCommandNameToolItems.end())
{
GtkToolItem* pItem = g_aCommandNameToolItems[aKey];
- bool bEdit = aValue == "true";
+ gboolean bEdit = aValue == "true";
if (gtk_toggle_tool_button_get_active(GTK_TOGGLE_TOOL_BUTTON(pItem)) != bEdit)
{
// Avoid invoking lok_docview_post_command().
More information about the Libreoffice-commits
mailing list