svx/inc/svx/zoom_def.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit a18c8a06073650e12f3c1f9f8990670484ac5cf1 Author: Jan Holesovsky <ke...@suse.cz> Date: Mon Jan 23 15:27:45 2012 +0100 Let's use 2^(1/4) as the zoom factor, instead of 1.2 (thanks, Tor!) diff --git a/svx/inc/svx/zoom_def.hxx b/svx/inc/svx/zoom_def.hxx index e194493..9f1a8ef 100644 --- a/svx/inc/svx/zoom_def.hxx +++ b/svx/inc/svx/zoom_def.hxx @@ -8,7 +8,8 @@ #endif -// zoom factor for Calc, Writer, Draw and Impress -#define ZOOM_FACTOR 1.2 +// Zoom factor for Calc, Writer, Draw and Impress +// We use 2^(1/4) so that 4 steps lead to double / half size +#define ZOOM_FACTOR 1.1892071150027210667175 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits