Kaydet (Commit) f014ba75 authored tarafından Caolán McNamara's avatar Caolán McNamara

convert to new api

this code looks suspiciously like a no-op, i.e. that the intent
is to append the generated string, but the old code threw
away the string, so not a new bug but in there since 2001
üst 36aeabdc
...@@ -1014,13 +1014,11 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I ...@@ -1014,13 +1014,11 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I
try try
{ {
fVal = m_xFormatter->convertStringToNumber(nFormat,rValue); fVal = m_xFormatter->convertStringToNumber(nFormat,rValue);
ByteString aTmpString(aStrTD); HTMLOutFuncs::CreateTableDataOptionsValNum(sal_False, fVal,nFormat, *pFormatter);
HTMLOutFuncs::CreateTableDataOptionsValNum( aTmpString, sal_False, fVal,nFormat, *pFormatter );
} }
catch(Exception&) catch(const Exception&)
{ {
ByteString aTmpString(aStrTD); HTMLOutFuncs::CreateTableDataOptionsValNum(sal_False, fVal,nFormat, *pFormatter);
HTMLOutFuncs::CreateTableDataOptionsValNum( aTmpString, sal_False, fVal,nFormat, *pFormatter );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment