summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-13 20:12:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-14 14:04:03 +0100
commit82937ce3d7bc2382c4da22365d1245c9f7db178c (patch)
treedbae8b3a02a1b0f21326ba2d5da41cf946d48962 /reportdesign
parent46894ec48eb33dc99dab807c9fcaf0caa7c6cd84 (diff)
String::SearchAndReplaceAllAscii -> OUString::replaceAll
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx4
1 files changed, 2 insertions, 2 deletions
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<frame::XModel> 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