diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-12-10 17:21:15 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-12-10 21:07:05 +0100 |
commit | f6f2ee5bdd9e0d44437bfbd6dd338adea956b2ab (patch) | |
tree | 0cad20f79381b65782a72b06170cc0b764d15419 /xmloff | |
parent | 3cc31f89787e435c893b38a0adc0a23f566ab60f (diff) |
xmloff: remove unused XMLTimeFieldImportContext::fTimeValue
Change-Id: I0ed6f24d4aae0f62cb63c682322e39e635e49ec8
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 3ab7140948db..4c60f1100a18 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -301,7 +301,6 @@ protected: const OUString sPropertyIsDate; const OUString sPropertyIsFixedLanguage; - double fTimeValue; ::com::sun::star::util::DateTime aDateTimeValue; sal_Int32 nAdjust; sal_Int32 nFormatKey; diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index bea669e5bbca..e1a82df7a663 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -1076,7 +1076,6 @@ XMLTimeFieldImportContext::XMLTimeFieldImportContext( , sPropertyAdjust(sAPI_adjust) , sPropertyIsDate(sAPI_is_date) , sPropertyIsFixedLanguage(sAPI_is_fixed_language) -, fTimeValue(0.0) , nAdjust(0) , nFormatKey(0) , bTimeOK(sal_False) @@ -1095,15 +1094,6 @@ void XMLTimeFieldImportContext::ProcessAttribute( { case XML_TOK_TEXTFIELD_TIME_VALUE: { - // FIXME double appears unused? - double fTmp; - if (GetImport().GetMM100UnitConverter(). - convertDateTime(fTmp, sAttrValue)) - { - fTimeValue = fTmp; - bTimeOK = sal_True; - } - if (::sax::Converter::parseTimeOrDateTime(aDateTimeValue, 0, sAttrValue)) { @@ -1236,16 +1226,6 @@ void XMLDateFieldImportContext::ProcessAttribute( { case XML_TOK_TEXTFIELD_DATE_VALUE: { - double fTmp; - - if (GetImport().GetMM100UnitConverter(). - convertDateTime(fTmp, sAttrValue)) - { - // #96457#: don't truncate in order to read date+time - fTimeValue = fTmp; - bTimeOK = sal_True; - } - if (::sax::Converter::parseDateTime(aDateTimeValue, 0, sAttrValue)) { bTimeOK = sal_True; |