diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2000-11-09 17:26:22 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2000-11-09 17:26:22 +0000 |
commit | 9e6f9b233cb13c8e0817ae2115c83563c3640ee3 (patch) | |
tree | dba570dce8c07216dab3eeb7011d6ce59f9edfdf /svx/source/dialog/pagectrl.cxx | |
parent | CommandAbortedException allowed for several commands (diff) | |
download | core-9e6f9b233cb13c8e0817ae2115c83563c3640ee3.tar.gz core-9e6f9b233cb13c8e0817ae2115c83563c3640ee3.zip |
same type
Diffstat (limited to 'svx/source/dialog/pagectrl.cxx')
-rw-r--r-- | svx/source/dialog/pagectrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index caee89157f2c..0aa73f64aa79 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pagectrl.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2000-11-09 14:29:11 $ + * last change: $Author: hjs $ $Date: 2000-11-09 18:26:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -154,7 +154,7 @@ SvxPageWindow::~SvxPageWindow() void __EXPORT SvxPageWindow::Paint( const Rectangle& rRect ) { - Fraction aXScale( aWinSize.Width(), std::max( aSize.Width() * 2 + aSize.Width() / 8, 1L ) ); + Fraction aXScale( aWinSize.Width(), std::max( (long) (aSize.Width() * 2 + aSize.Width() / 8), 1L ) ); Fraction aYScale( aWinSize.Height(), std::max( aSize.Height(), 1L ) ); MapMode aMapMode( GetMapMode() ); |