summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdopage.cxx
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2002-07-26 13:10:11 +0000
committerSven Jacobi <sj@openoffice.org>2002-07-26 13:10:11 +0000
commitbba57441d6e6aaf9ca115f0300cf02998af4e11d (patch)
treeaa939c4b05262a8e61a81f4f849bb0a04900adf1 /svx/source/svdraw/svdopage.cxx
parentc7a8f0d88c7c5a45a830ca4aa04890c600958bcd (diff)
#99149# fixed problem with one pixel wide preview objects
Diffstat (limited to 'svx/source/svdraw/svdopage.cxx')
-rw-r--r--svx/source/svdraw/svdopage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdopage.cxx b/svx/source/svdraw/svdopage.cxx
index b4178551cb1d..c48681a3ab1b 100644
--- a/svx/source/svdraw/svdopage.cxx
+++ b/svx/source/svdraw/svdopage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdopage.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: cl $ $Date: 2002-06-07 12:08:48 $
+ * last change: $Author: sj $ $Date: 2002-07-26 14:10:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -328,8 +328,8 @@ FASTBOOL SdrPageObj::Paint(ExtOutputDevice& rXOut, const SdrPaintInfoRec& rInfoR
Fraction aFact1(1,1);
Point aOfs(aOutRect.TopLeft());
rXOut.GetOutDev()->SetMapMode(MapMode(MAP_RELATIVE,aOfs,aFact1,aFact1));
- long nXMul=aOutRect.GetWidth()-1;
- long nYMul=aOutRect.GetHeight()-1;
+ long nXMul=aOutRect.GetWidth(); // SJ: #99149# fixed problem with
+ long nYMul=aOutRect.GetHeight(); // one pixel wide preview objects
long nXDiv=pMainPage->GetWdt();
long nYDiv=pMainPage->GetHgt();
Fraction aXScl(nXMul,nXDiv);