summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-09-29 21:00:29 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-09-29 21:01:13 +0100
commit02f57e36bf28312c4163d2240bbfe913d1b13823 (patch)
treedecab1790b3cc7a9870efa61b4bad825e08607d8 /libreofficekit
parent2311c8d6771e15bb7573eca6681775256bc94826 (diff)
LOK: avoid crash when zooming using quadview
Change-Id: I89a8c9e44906326976c3dc8057e1637affaf2521
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 2e70c09c3ca8..9b2572b4ca2e 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)