diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-21 09:26:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-21 09:27:56 +0100 |
commit | 1bae003aae5fc319b49e85f01a1a8d51d337f5d3 (patch) | |
tree | d57fbc4e15887a438b663293e44570e3378bdc60 | |
parent | a027bee4bb2565f14eb70c4325592b23a86c007a (diff) |
ByteString::->rtl::OStringBufferfeature/layout
-rw-r--r-- | sc/source/core/data/attarray.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx index 0a8c1f6bd..4775fdcd9 100644 --- a/sc/source/core/data/attarray.cxx +++ b/sc/source/core/data/attarray.cxx @@ -115,10 +115,12 @@ void ScAttrArray::TestData() const } if (nErr) { - ByteString aMsg = ByteString::CreateFromInt32(nErr); - aMsg += " errors in attribute array, column "; - aMsg += ByteString::CreateFromInt32(nCol); - OSL_FAIL( aMsg.GetBuffer() ); + rtl::OStringBuffer aMsg; + aMsg.append(static_cast<sal_Int32>(nErr)); + aMsg.append(RTL_CONSTASCII_STRINGPARAM( + " errors in attribute array, column ")); + aMsg.append(static_cast<sal_Int32>(nCol)); + OSL_FAIL(aMsg.getStr()); } } #endif |