From f626ff59b229ce7aec2f2313936133c53d70781f Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Thu, 23 Feb 2012 19:59:34 +0100 Subject: removed zoomtools int functions Changed viewport.cxx to use long instead of int like all other zoom functions and in this succession removed the zoomtools int functions which where only added for this one exception. --- basegfx/source/tools/zoomtools.cxx | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'basegfx/source/tools') diff --git a/basegfx/source/tools/zoomtools.cxx b/basegfx/source/tools/zoomtools.cxx index d4b274ce0b01..34b0b8cba3f9 100644 --- a/basegfx/source/tools/zoomtools.cxx +++ b/basegfx/source/tools/zoomtools.cxx @@ -129,27 +129,6 @@ long zoomOut(long nCurrent) nNew = enforceStep(nNew, nCurrent, 25); return nNew; } - -/** -* Increasing the zoom level. -* -* @param nCurrent current zoom factor -*/ -int zoomIn(int nCurrent) -{ - return static_cast( zoomIn( long( nCurrent ) ) ); -} - -/** -* Decreasing the zoom level. -* -* @param nCurrent current zoom factor -*/ -int zoomOut(int nCurrent) -{ - return static_cast( zoomOut( long( nCurrent ) ) ); -} - } // namespace zoomtools } // namespace basegfx -- cgit v1.2.3