diff options
author | Oliver Specht <os@openoffice.org> | 2001-05-10 13:21:57 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-05-10 13:21:57 +0000 |
commit | 48882681976e5e61a251ade8a9e0eb1547709517 (patch) | |
tree | fb1f5ccffb2951d69acfa120923aac03af6cd28d /svx/source/dialog/dlgctrl.cxx | |
parent | Cursor is of type XResultSet, not string (diff) | |
download | core-48882681976e5e61a251ade8a9e0eb1547709517.tar.gz core-48882681976e5e61a251ade8a9e0eb1547709517.zip |
black border corrected
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 99ee33930e06..1a41ce617889 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgctrl.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2000-10-30 10:48:03 $ + * last change: $Author: os $ $Date: 2001-05-10 14:21:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1733,6 +1733,12 @@ SvxXRectPreview::SvxXRectPreview( Window* pParent, const ResId& rResId, XOutputD { SetMapMode( MAP_100TH_MM ); Size aSize = GetOutputSize(); + + Size aTmp(1, 1); + aTmp = PixelToLogic(aTmp); + aSize.Width() -= aTmp.Width() /2; + aSize.Height() -= aTmp.Height() /2; + aRect = Rectangle( Point(), aSize ); InitSettings( TRUE, TRUE ); } |