diff options
Diffstat (limited to 'forms/source/richtext/rtattributehandler.cxx')
-rw-r--r-- | forms/source/richtext/rtattributehandler.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx index b3045ebdbbaf..7481551fd926 100644 --- a/forms/source/richtext/rtattributehandler.cxx +++ b/forms/source/richtext/rtattributehandler.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rtattributehandler.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-05-07 16:14:50 $ + * last change: $Author: hr $ $Date: 2004-05-12 15:44:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -463,7 +463,7 @@ namespace frm { nHeight = OutputDevice::LogicToLogic( Size( 0, nHeight ), - MapMode( static_cast< MapUnit >( _rAttribs.GetPool()->GetMetric( getWhich() ) ) ), + MapMode( (MapUnit)( _rAttribs.GetPool()->GetMetric( getWhich() ) ) ), MapMode( MAP_TWIP ) ).Height(); } @@ -491,8 +491,8 @@ namespace frm { nHeight = OutputDevice::LogicToLogic( Size( 0, nHeight ), - MapMode( static_cast< MapUnit >( SFX_MAPUNIT_TWIP ) ), - MapMode( static_cast< MapUnit >( _rNewAttribs.GetPool()->GetMetric( getWhich() ) ) ) + MapMode( (MapUnit)( SFX_MAPUNIT_TWIP ) ), + MapMode( (MapUnit)( _rNewAttribs.GetPool()->GetMetric( getWhich() ) ) ) ).Height(); } |