summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtvfldi.cxx
diff options
context:
space:
mode:
authorHenning Brinkmann <hbrinkm@openoffice.org>2002-09-27 13:44:07 +0000
committerHenning Brinkmann <hbrinkm@openoffice.org>2002-09-27 13:44:07 +0000
commite82d02a63512b31dda198a158a92ff60398f8943 (patch)
tree9a12c654f675884846e79cb8027affb96c06c070 /xmloff/source/text/txtvfldi.cxx
parent2e79f89a9de16a4aae98d1eebc2705764ffedb73 (diff)
#102171# XMLValueImportHelper::ProcessAttribute
Diffstat (limited to 'xmloff/source/text/txtvfldi.cxx')
-rw-r--r--xmloff/source/text/txtvfldi.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 065d871f4997..f2a8cb5fdd30 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtvfldi.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: dvo $ $Date: 2002-06-11 14:59:35 $
+ * last change: $Author: hbrinkm $ $Date: 2002-09-27 14:44:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1396,6 +1396,15 @@ void XMLValueImportHelper::ProcessAttribute(
bFloatValueOK = sal_True;
fValue = (bTmp ? 1.0 : 0.0);
}
+ else
+ {
+ double fTmp;
+ bRet = SvXMLUnitConverter::convertDouble(fTmp,sAttrValue);
+ if (bRet) {
+ bFloatValueOK = sal_True;
+ fValue = fTmp;
+ }
+ }
break;
}