[Libreoffice-commits] .: binfilter/bf_basic
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 29 03:17:40 PDT 2011
binfilter/bf_basic/source/sbx/sbxobj.cxx | 6 +++---
binfilter/bf_basic/source/sbx/sbxvar.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 605fbbb679bc9e426a7e45060cf5e3aec68ac019
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 29 09:00:41 2011 +0100
remove deprecated ByteString::CreateFromInt64
diff --git a/binfilter/bf_basic/source/sbx/sbxobj.cxx b/binfilter/bf_basic/source/sbx/sbxobj.cxx
index adbd1fe..de1d7f0 100644
--- a/binfilter/bf_basic/source/sbx/sbxobj.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxobj.cxx
@@ -734,17 +734,17 @@ void SbxObject::Dump( SvStream& rStrm, BOOL bFill )
ByteString aNameStr( (const UniString&)GetName(), RTL_TEXTENCODING_ASCII_US );
ByteString aClassNameStr( (const UniString&)aClassName, RTL_TEXTENCODING_ASCII_US );
rStrm << "Object( "
- << ByteString::CreateFromInt64( (ULONG) this ).GetBuffer() << "=='"
+ << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(this)).getStr() << "=='"
<< ( aNameStr.Len() ? aNameStr.GetBuffer() : "<unnamed>" ) << "', "
<< "of class '" << aClassNameStr.GetBuffer() << "', "
<< "counts "
- << ByteString::CreateFromInt64( GetRefCount() ).GetBuffer()
+ << rtl::OString::valueOf(static_cast<sal_Int64>(GetRefCount())).getStr()
<< " refs, ";
if ( GetParent() )
{
ByteString aParentNameStr( (const UniString&)GetName(), RTL_TEXTENCODING_ASCII_US );
rStrm << "in parent "
- << ByteString::CreateFromInt64( (ULONG) GetParent() ).GetBuffer()
+ << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(GetParent())).getStr()
<< "=='" << ( aParentNameStr.Len() ? aParentNameStr.GetBuffer() : "<unnamed>" ) << "'";
}
else
diff --git a/binfilter/bf_basic/source/sbx/sbxvar.cxx b/binfilter/bf_basic/source/sbx/sbxvar.cxx
index ab208c2..9ea657f 100644
--- a/binfilter/bf_basic/source/sbx/sbxvar.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxvar.cxx
@@ -468,7 +468,7 @@ void SbxVariable::Dump( SvStream& rStrm, BOOL bFill )
{
ByteString aBNameStr( (const UniString&)GetName( SbxNAME_SHORT_TYPES ), RTL_TEXTENCODING_ASCII_US );
rStrm << "Variable( "
- << ByteString::CreateFromInt64( (ULONG) this ).GetBuffer() << "=="
+ << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(this)).getStr() << "=="
<< aBNameStr.GetBuffer();
ByteString aBParentNameStr( (const UniString&)GetParent()->GetName(), RTL_TEXTENCODING_ASCII_US );
if ( GetParent() )
More information about the Libreoffice-commits
mailing list