[calligra] libs/widgets: Do not do bounds checking on KoZoomHandler

Cyrille Berger Skott cberger at cberger.net
Fri Mar 4 13:54:41 GMT 2011


Hi,

This breaks the zoomhandler_test test:

http://my.cdash.org/testDetails.php?test=5287214&build=163942

On Friday 04 March 2011, Arjen Hiemstra wrote:
> Git commit 8345828504841dbe4be3d7111d3adcce12fbd4cc by Arjen Hiemstra.
> Committed on 04/03/2011 at 13:59.
> Pushed by ahiemstra into branch 'master'.
> 
> Do not do bounds checking on KoZoomHandler
> 
> This makes it possible to use the ZoomHandler class for thumbnail
> generation again.
> 
> M  +0    -1    libs/widgets/KoZoomHandler.cpp
> 
> http://commits.kde.org/calligra/8345828504841dbe4be3d7111d3adcce12fbd4cc
> 
> diff --git a/libs/widgets/KoZoomHandler.cpp
> b/libs/widgets/KoZoomHandler.cpp index e5887f8..ce234e6 100644
> --- a/libs/widgets/KoZoomHandler.cpp
> +++ b/libs/widgets/KoZoomHandler.cpp
> @@ -79,7 +79,6 @@ void KoZoomHandler::setZoom( qreal zoom )
>          zoom = 1.0;
>      }
> 
> -    zoom = KoZoomMode::clampZoom(zoom);
>      KoViewConverter::setZoom(zoom);
>      if( zoom == 1.0 ) {
>          m_zoomedResolutionX = m_resolutionX;


-- 
Cyrille Berger Skott



More information about the calligra-devel mailing list