summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 10:34:35 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 10:34:35 +0000
commit0b59a4ed3a96a96cc604c103a3cc702a965c868e (patch)
treee6c0226b7d9bfa5dff7f84528bfb447354ae77fa /svx
parent1d66ab37e8e33a7ee40394adba04557d9de9220f (diff)
INTEGRATION: CWS mfdouble (1.13.170); FILE MERGED
2006/12/14 19:15:48 pl 1.13.170.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/hdft.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index f9f0b19dc183..5d8f43ecde43 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hdft.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 04:22:37 $
+ * last change: $Author: obo $ $Date: 2007-01-23 11:34:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -917,9 +917,9 @@ IMPL_LINK( SvxHFPage, RangeHdl, Edit *, EMPTYARG )
long nFDist = aBspWin.GetFtDist();
long nHeight = Max( (long)MINBODY,
- aHeightEdit.Denormalize( aHeightEdit.GetValue( FUNIT_TWIP ) ) );
+ static_cast<long>(aHeightEdit.Denormalize( aHeightEdit.GetValue( FUNIT_TWIP ) ) ) );
long nDist = aTurnOnBox.IsChecked() ?
- aDistEdit.Denormalize( aDistEdit.GetValue( FUNIT_TWIP ) ) : 0;
+ static_cast<long>(aDistEdit.Denormalize( aDistEdit.GetValue( FUNIT_TWIP ) )) : 0;
long nMin;
long nMax;
@@ -972,11 +972,11 @@ IMPL_LINK( SvxHFPage, RangeHdl, Edit *, EMPTYARG )
// Einzuege beschraenken
nMax = nW - nBL - nBR -
- aRMEdit.Denormalize( aRMEdit.GetValue( FUNIT_TWIP ) ) - MINBODY;
+ static_cast<long>(aRMEdit.Denormalize( aRMEdit.GetValue( FUNIT_TWIP ) )) - MINBODY;
aLMEdit.SetMax( aLMEdit.Normalize( nMax ), FUNIT_TWIP );
nMax = nW - nBL - nBR -
- aLMEdit.Denormalize( aLMEdit.GetValue( FUNIT_TWIP ) ) - MINBODY;
+ static_cast<long>(aLMEdit.Denormalize( aLMEdit.GetValue( FUNIT_TWIP ) )) - MINBODY;
aRMEdit.SetMax( aLMEdit.Normalize( nMax ), FUNIT_TWIP );
return 0;
}