From 82937ce3d7bc2382c4da22365d1245c9f7db178c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 13 Jul 2013 20:12:42 +0100 Subject: String::SearchAndReplaceAllAscii -> OUString::replaceAll Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96 --- reportdesign/source/ui/report/ReportController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 05c9520819a5..0785f0e7ab1a 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2925,8 +2925,8 @@ uno::Reference OReportController::executeReport() // our first message says: we caught an exception sdb::SQLContext aFirstMessage; - String sInfo = String( ModuleRes( RID_STR_CAUGHT_FOREIGN_EXCEPTION ) ); - sInfo.SearchAndReplaceAllAscii( "$type$", aCaughtException.getValueTypeName() ); + OUString sInfo(ModuleRes(RID_STR_CAUGHT_FOREIGN_EXCEPTION).toString()); + sInfo = sInfo.replaceAll("$type$", aCaughtException.getValueTypeName()); aFirstMessage.Message = sInfo; // our second message: the message of the exception we caught -- cgit