summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog/_contdlg.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 10:32:34 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 10:32:34 +0000
commitbf2e0cdd91d20d50c609c903445b640245a1c663 (patch)
tree82d62fa32f7292d1dc9d5e807ff1e3b45bb4bb35 /svx/source/dialog/_contdlg.cxx
parentINTEGRATION: CWS mfdouble (1.9.138); FILE MERGED (diff)
downloadcore-bf2e0cdd91d20d50c609c903445b640245a1c663.tar.gz
core-bf2e0cdd91d20d50c609c903445b640245a1c663.zip
INTEGRATION: CWS mfdouble (1.16.62); FILE MERGED
2006/12/14 19:15:47 pl 1.16.62.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r--svx/source/dialog/_contdlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 22544ad8e13e..1fac4a179dd1 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: _contdlg.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 13:14:31 $
+ * last change: $Author: obo $ $Date: 2007-01-23 11:32:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -97,7 +97,7 @@
inline String GetUnitString( long nVal_100, FieldUnit eFieldUnit, sal_Unicode cSep )
{
- String aVal = UniString::CreateFromInt32( MetricField::ConvertValue( nVal_100, 2, MAP_100TH_MM, eFieldUnit ) );
+ String aVal = UniString::CreateFromInt64( MetricField::ConvertValue( nVal_100, 2, MAP_100TH_MM, eFieldUnit ) );
while( aVal.Len() < 3 )
aVal.Insert( sal_Unicode('0'), 0 );
@@ -1106,7 +1106,7 @@ IMPL_LINK( SvxSuperContourDlg, PipetteClickHdl, ContourWindow*, pWnd )
if( aGraphic.GetType() == GRAPHIC_BITMAP )
{
Bitmap aBmp( aGraphic.GetBitmap() );
- const long nTol = aMtfTolerance.GetValue() * 255L / 100L;
+ const long nTol = static_cast<long>(aMtfTolerance.GetValue() * 255L / 100L);
aMask = aBmp.CreateMask( rColor, nTol );