diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:38:26 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-23 10:38:26 +0000 |
commit | 5d0792b7bb366d36337f214e38198696eb8f7c6a (patch) | |
tree | 6e5d58b78622ca2c63ef2e3476c5b7647dcfebc0 /svx | |
parent | 8e60418ec34871ce7d7e5f8144afca6eb440040b (diff) |
INTEGRATION: CWS mfdouble (1.23.62); FILE MERGED
2006/12/15 13:55:49 pl 1.23.62.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/engine3d/float3d.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index fb9de62976eb..afe643f83ed3 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: float3d.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: ihi $ $Date: 2006-11-14 13:19:13 $ + * last change: $Author: obo $ $Date: 2007-01-23 11:38:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1851,7 +1851,7 @@ void Svx3DWin::GetAttr( SfxItemSet& rAttrs ) // Anzahl Segmente (horizontal) if( !aNumHorizontal.IsEmptyFieldValue() ) { - sal_uInt32 nValue = aNumHorizontal.GetValue(); + sal_uInt32 nValue = static_cast<sal_uInt32>(aNumHorizontal.GetValue()); rAttrs.Put(Svx3DHorizontalSegmentsItem(nValue)); } else @@ -1860,7 +1860,7 @@ void Svx3DWin::GetAttr( SfxItemSet& rAttrs ) // Anzahl Segmente (vertikal) if( !aNumVertical.IsEmptyFieldValue() ) { - UINT32 nValue = aNumVertical.GetValue(); + UINT32 nValue = static_cast<UINT32>(aNumVertical.GetValue()); rAttrs.Put(Svx3DVerticalSegmentsItem(nValue)); } else |