summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-29 23:28:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-31 21:12:56 +0100
commitf014ba75fdffaec1bc0f07e92743cacee2f39e71 (patch)
tree777d600b2bec972397e5c935ab12b18e22da020f /dbaccess
parentAdd consistent Emacs and vim mode lines (diff)
downloadcore-f014ba75fdffaec1bc0f07e92743cacee2f39e71.tar.gz
core-f014ba75fdffaec1bc0f07e92743cacee2f39e71.zip
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
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index 1cd369b485df..f4d9aa49a440 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -1014,13 +1014,11 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I
try
{
fVal = m_xFormatter->convertStringToNumber(nFormat,rValue);
- ByteString aTmpString(aStrTD);
- HTMLOutFuncs::CreateTableDataOptionsValNum( aTmpString, sal_False, fVal,nFormat, *pFormatter );
+ HTMLOutFuncs::CreateTableDataOptionsValNum(sal_False, fVal,nFormat, *pFormatter);
}
- catch(Exception&)
+ catch(const Exception&)
{
- ByteString aTmpString(aStrTD);
- HTMLOutFuncs::CreateTableDataOptionsValNum( aTmpString, sal_False, fVal,nFormat, *pFormatter );
+ HTMLOutFuncs::CreateTableDataOptionsValNum(sal_False, fVal,nFormat, *pFormatter);
}
}