diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:14:20 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:14:20 +0000 |
commit | 0ba20a83d5a27ec6da1573d741ebe2e949873e7b (patch) | |
tree | cffea5350be66c99914efc317604a95388999047 /sd/source/ui/dlg/vectdlg.cxx | |
parent | 60a6e9a67681de109d6085ed2b95e23e84072870 (diff) |
INTEGRATION: CWS mfdouble (1.9.4); FILE MERGED
2006/12/22 13:39:51 pl 1.9.4.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'sd/source/ui/dlg/vectdlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/vectdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/vectdlg.cxx b/sd/source/ui/dlg/vectdlg.cxx index d022c9d976be..5f0cb4cb1c28 100644 --- a/sd/source/ui/dlg/vectdlg.cxx +++ b/sd/source/ui/dlg/vectdlg.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vectdlg.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: kz $ $Date: 2006-12-12 17:11:34 $ + * last change: $Author: obo $ $Date: 2007-01-23 11:14:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -217,8 +217,8 @@ void SdVectorizeDlg::Calculate( Bitmap& rBmp, GDIMetaFile& rMtf ) { const long nWidth = pRAcc->Width(); const long nHeight = pRAcc->Height(); - const long nTileX = aMtFillHoles.GetValue(); - const long nTileY = aMtFillHoles.GetValue(); + const long nTileX = static_cast<long>(aMtFillHoles.GetValue()); + const long nTileY = static_cast<long>(aMtFillHoles.GetValue()); const long nCountX = nWidth / nTileX; const long nCountY = nHeight / nTileY; const long nRestX = nWidth % nTileX; |