diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 09:58:12 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 09:58:12 +0000 |
commit | 2c32696a04bc195c8ce61a0df6dcafb8c0c49fe0 (patch) | |
tree | 20f65f4b4d1a3a1c7c73f694210b3a07b6bea496 /sd/source/ui/func/fuzoom.cxx | |
parent | 534bd7f86535dc81073d673d9bc185bb34520a55 (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'sd/source/ui/func/fuzoom.cxx')
-rw-r--r-- | sd/source/ui/func/fuzoom.cxx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sd/source/ui/func/fuzoom.cxx b/sd/source/ui/func/fuzoom.cxx index 6e9dc2569cd4..693010ca8c3d 100644 --- a/sd/source/ui/func/fuzoom.cxx +++ b/sd/source/ui/func/fuzoom.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fuzoom.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2002-03-01 10:04:09 $ + * last change: $Author: hr $ $Date: 2003-03-27 10:57:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -193,18 +193,9 @@ BOOL FuZoom::MouseMove(const MouseEvent& rMEvt) Point aScroll = aBeginPos - aEndPos; - // Nur um Vielfache der BRUSH_SIZE scrollen - if (Abs(aBeginPosPix.X() - aPosPix.X()) < BRUSH_SIZE) - { - aScroll.X() = 0; - aPosPix.X() = aBeginPosPix.X(); - } - - if (Abs(aBeginPosPix.Y() - aPosPix.Y()) < BRUSH_SIZE) - { - aScroll.Y() = 0; - aPosPix.Y() = aBeginPosPix.Y(); - } + // #i2237# + // removed old stuff here which still forced zoom to be + // %BRUSH_SIZE which is outdated now if (aScroll.X() != 0 || aScroll.Y() != 0) { |