[Libreoffice-commits] core.git: libreofficekit/qa
Michael Meeks
michael.meeks at collabora.com
Mon Sep 29 13:01:44 PDT 2014
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 02f57e36bf28312c4163d2240bbfe913d1b13823
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Mon Sep 29 21:00:29 2014 +0100
LOK: avoid crash when zooming using quadview
Change-Id: I89a8c9e44906326976c3dc8057e1637affaf2521
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 2e70c09..9b2572b 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -50,7 +50,7 @@ void changeZoom( GtkWidget* pButton, gpointer /* pItem */ )
}
else if ( pDocViewQuad )
{
- fCurrentZoom = lok_docview_quad_get_zoom( LOK_DOCVIEW_QUAD(pDocView) );
+ fCurrentZoom = lok_docview_quad_get_zoom( LOK_DOCVIEW_QUAD(pDocViewQuad) );
}
if ( strcmp(sName, "gtk-zoom-in") == 0)
More information about the Libreoffice-commits
mailing list