summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-21 09:26:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-21 09:27:56 +0100
commitaca6b30d6406799561f311a38bbbfc1aebda36de (patch)
treefcd41ef55a53fabf2ff8c68fa8dcb8edd4016327 /sc/source
parentc1599dd905492b1dc988397560663415eefdbb90 (diff)
ByteString::->rtl::OStringBuffer
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/attarray.cxx10
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