summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorTim Hardeck <thardeck@suse.com>2012-02-23 19:59:34 +0100
committerJan Holesovsky <kendy@suse.cz>2012-03-20 17:17:36 +0100
commitf626ff59b229ce7aec2f2313936133c53d70781f (patch)
treea02aaf1c056f04aa189b295b8b97996f75cca50c /basegfx
parent6d1f7fadc06bb57b175d5f4b94147373fc07f8a8 (diff)
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.
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/tools/zoomtools.hxx2
-rw-r--r--basegfx/source/tools/zoomtools.cxx21
2 files changed, 0 insertions, 23 deletions
diff --git a/basegfx/inc/basegfx/tools/zoomtools.hxx b/basegfx/inc/basegfx/tools/zoomtools.hxx
index 566418d3a8a8..44d9052a2552 100644
--- a/basegfx/inc/basegfx/tools/zoomtools.hxx
+++ b/basegfx/inc/basegfx/tools/zoomtools.hxx
@@ -42,8 +42,6 @@ namespace basegfx
{
BASEGFX_DLLPUBLIC long zoomOut(long nCurrent);
BASEGFX_DLLPUBLIC long zoomIn(long nCurrent);
- BASEGFX_DLLPUBLIC int zoomOut(int nCurrent);
- BASEGFX_DLLPUBLIC int zoomIn(int nCurrent);
}
}
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<int>( zoomIn( long( nCurrent ) ) );
-}
-
-/**
-* Decreasing the zoom level.
-*
-* @param nCurrent current zoom factor
-*/
-int zoomOut(int nCurrent)
-{
- return static_cast<int>( zoomOut( long( nCurrent ) ) );
-}
-
} // namespace zoomtools
} // namespace basegfx