Kaydet (Commit) 0b59a4ed authored tarafından Oliver Bolte's avatar Oliver Bolte

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
üst 1d66ab37
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment