[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jul 21 02:34:46 PDT 2011
sc/source/core/data/attarray.cxx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 1bae003aae5fc319b49e85f01a1a8d51d337f5d3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 21 09:26:30 2011 +0100
ByteString::->rtl::OStringBuffer
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 0a8c1f6..4775fdc 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
More information about the Libreoffice-commits
mailing list