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 | aca6b30d6406799561f311a38bbbfc1aebda36de (patch) | |
tree | fcd41ef55a53fabf2ff8c68fa8dcb8edd4016327 /sc | |
parent | c1599dd905492b1dc988397560663415eefdbb90 (diff) |
ByteString::->rtl::OStringBuffer
Diffstat (limited to 'sc')
-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 f32553720338..6c1a989dbf65 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 |