[Libreoffice-commits] core.git: libreofficekit/qa
Miklos Vajna
vmiklos at collabora.co.uk
Fri Nov 13 00:45:29 PST 2015
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0bf24b19c7618ee83f88aa9364f68a4db1d2c04d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Nov 13 09:45:03 2015 +0100
libreofficekit: loplugin:cstylecast
Change-Id: Iea7ba258b661c09744191933fc23a06ed57fdf3b
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index b751fec..c16a87b 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -782,7 +782,7 @@ static void cursorChanged(LOKDocView* pDocView, gint nX, gint nY,
static void formulaChanged(LOKDocView* pLOKDocView, char* pPayload, gpointer /*pData*/)
{
TiledWindow& rWindow = lcl_getTiledWindow(GTK_WIDGET(pLOKDocView));
- gtk_entry_set_text((GtkEntry*)rWindow.m_pFormulabarEntry, pPayload);
+ gtk_entry_set_text(GTK_ENTRY(rWindow.m_pFormulabarEntry), pPayload);
}
static void toggleToolItem(GtkWidget* pWidget, gpointer /*pData*/)
More information about the Libreoffice-commits
mailing list