summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 10:32:58 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 10:32:58 +0000
commiteed7beb73b8a63bf2b95175d8c7873d809811b0c (patch)
tree45a14298e4b26f4ba0cbb7a09f5b8987c3d8c91d /svx
parent7ff80a3be03714017e38d29790ca22f1c0aa007c (diff)
INTEGRATION: CWS mfdouble (1.30.136); FILE MERGED
2006/12/14 19:15:47 pl 1.30.136.1: #i71046# increase precision of MetricField and friends
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/border.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/border.cxx b/svx/source/dialog/border.cxx
index d88576d160b5..3899e85de8a1 100644
--- a/svx/source/dialog/border.cxx
+++ b/svx/source/dialog/border.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: border.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 12:05:34 $
+ * last change: $Author: obo $ $Date: 2007-01-23 11:32:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -499,7 +499,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet& rSet )
SetMetricValue( aTopMF, pBoxInfoItem->GetDefDist(), eCoreUnit );
SetMetricValue( aBottomMF, pBoxInfoItem->GetDefDist(), eCoreUnit );
- nMinValue = aLeftMF.GetValue();
+ nMinValue = static_cast<long>(aLeftMF.GetValue());
if ( pBoxInfoItem->IsMinDist() )
{
@@ -1221,7 +1221,7 @@ IMPL_LINK( SvxBorderTabPage, ModifyDistanceHdl_Impl, MetricField*, pField)
{
if ( bSync )
{
- long nVal = pField->GetValue();
+ sal_Int64 nVal = pField->GetValue();
if(pField != &aLeftMF)
aLeftMF.SetValue(nVal);
if(pField != &aRightMF)