[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/kspread/gnumeric
From:       Stefan Nikolaus <nikolaus.kde () googlemail ! com>
Date:       2010-06-19 9:16:33
Message-ID: 20100619091633.2D465AC8D8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1139876 by nikolaus:

Use KoZoomHandler::zoom() instead of KoZoomController::KoZoomAction::effectiveZoom().



 M  +2 -2      gnumericexport.cc  


--- trunk/koffice/filters/kspread/gnumeric/gnumericexport.cc #1139875:1139876
@@ -27,7 +27,7 @@
 #include <kmessagebox.h>
 #include <kgenericfactory.h>
 #include <KoFilterChain.h>
-#include <KoZoomController.h>
+#include <KoZoomHandler.h>
 #include <QApplication>
 #include <QList>
 #include <QFile>
@@ -1097,7 +1097,7 @@
         // KSpread 200% gives zoom() = 2.5, this in GNumeric = 250%
         tmp = gnumeric_doc.createElement("gmr:Zoom");
         if (view)
-            tmp.appendChild(gnumeric_doc.createTextNode(QString::number(view->zoomController()->zoomAction()->effectiveZoom())));
 +            tmp.appendChild(gnumeric_doc.createTextNode(QString::number(view->zoomHandler()->zoom())));
  else
             tmp.appendChild(gnumeric_doc.createTextNode("1.0"));
         sheet.appendChild(tmp);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic