[Libreoffice-commits] .: binfilter/bf_sw
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Jun 28 01:15:39 PDT 2011
binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit bce81f3422b4bb8568b365bcebda4800efc23248
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jun 27 23:55:09 2011 +0100
CreateFromDouble->valueOf
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx b/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
index 7d07c96..4feede9 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
@@ -936,9 +936,9 @@ SwAuthorityFieldType* lcl_sw3io_InAuthorityFieldType( Sw3IoImp& rIo )
/*N*/ String sTxt( ((SwDBField *)pFld)->GetOldContent() );
/*N*/ if( ((SwDBField *)pFld)->IsValidValue() )
/*N*/ {
-/*?*/ cFlag = 0x01;
-/*?*/ ByteString sValue(ByteString::CreateFromDouble(((SwDBField *)pFld)->GetValue()));
-/*?*/ sTxt.AssignAscii( sValue.GetBuffer() );
+/*?*/ cFlag = 0x01;
+/*?*/ rtl::OString sValue(rtl::OString::valueOf(((SwDBField *)pFld)->GetValue()));
+/*?*/ sTxt.AssignAscii(sValue.getStr());
/*N*/ }
/*N*/ *rIo.pStrm << (UINT16)rIo.aStringPool.Find( ((SwDBFieldType *)pFld->GetTyp())->GetColumnName(), USHRT_MAX );
/*N*/ rIo.OutString( *rIo.pStrm, sTxt );
More information about the Libreoffice-commits
mailing list