summaryrefslogtreecommitdiff
path: root/forms/source/richtext/rtattributehandler.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-12 14:44:51 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-12 14:44:51 +0000
commit6c92eab7aefd27dd05aaf61624d58197a1c3d7e6 (patch)
tree8310dc18736f8ffd6b81822729073490f172dc17 /forms/source/richtext/rtattributehandler.cxx
parent6dd32268e2e7972da8dd1144b5083b396b671053 (diff)
#i10000#: wrong cast
Diffstat (limited to 'forms/source/richtext/rtattributehandler.cxx')
-rw-r--r--forms/source/richtext/rtattributehandler.cxx10
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();
}