summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlbahdl.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-02-26 09:29:13 +0000
committerArmin Weiss <aw@openoffice.org>2001-02-26 09:29:13 +0000
commitce8f9ee34a554c39106923421883a7fec54ce9ce (patch)
treed38fd1dd0353af3e385c24d6dbc5755ecbff5a35 /xmloff/source/style/xmlbahdl.cxx
parent3702685988f2175abb49f4ab6b157bbca67026d8 (diff)
Changed double import/export to use their own member functions
Diffstat (limited to 'xmloff/source/style/xmlbahdl.cxx')
-rw-r--r--xmloff/source/style/xmlbahdl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx
index 2d23c23ad5..61b1420f5e 100644
--- a/xmloff/source/style/xmlbahdl.cxx
+++ b/xmloff/source/style/xmlbahdl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlbahdl.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mib $ $Date: 2000-12-13 09:56:53 $
+ * last change: $Author: aw $ $Date: 2001-02-26 10:28:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -472,7 +472,7 @@ XMLDoublePropHdl::~XMLDoublePropHdl()
sal_Bool XMLDoublePropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
{
double fDblValue;
- sal_Bool bRet = rUnitConverter.convertNumber( fDblValue, rStrImpValue );
+ sal_Bool bRet = rUnitConverter.convertDouble( fDblValue, rStrImpValue );
rValue <<= fDblValue;
return bRet;
}
@@ -486,7 +486,7 @@ sal_Bool XMLDoublePropHdl::exportXML( OUString& rStrExpValue, const Any& rValue,
if( rValue >>= fValue )
{
OUStringBuffer aOut;
- rUnitConverter.convertNumber( aOut, fValue );
+ rUnitConverter.convertDouble( aOut, fValue );
rStrExpValue = aOut.makeStringAndClear();
bRet = sal_True;
}