summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/openuriexternally.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-29 13:20:28 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:53:52 +0200
commit9daa4f31944e1b9510b092ab9fdd433984c85d10 (patch)
tree91f41cedccd0d077d96f4d04fdad7442dd505f53 /sfx2/source/appl/openuriexternally.cxx
parent6dbf3cd4123a24ee1f5169aaa02cb06ae3eefaaf (diff)
convert sfx2/source/appl/* from String to OUString
Change-Id: I59901bdc3c953bf883c0b543bd1e0b5d6a96e80a
Diffstat (limited to 'sfx2/source/appl/openuriexternally.cxx')
-rw-r--r--sfx2/source/appl/openuriexternally.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx
index 1e9347a4e55c..c6e4f3a26ae3 100644
--- a/sfx2/source/appl/openuriexternally.cxx
+++ b/sfx2/source/appl/openuriexternally.cxx
@@ -50,8 +50,8 @@ bool sfx2::openUriExternally(
SolarMutexGuard g;
ErrorBox eb(
SfxGetpApp()->GetTopWindow(), SfxResId(MSG_ERR_NO_ABS_URI_REF));
- String msg(eb.GetMessText());
- msg.SearchAndReplaceAscii("$(ARG1)", uri);
+ OUString msg(eb.GetMessText());
+ msg = msg.replaceFirst("$(ARG1)", uri);
eb.SetMessText(msg);
eb.Execute();
} catch (css::system::SystemShellExecuteException &) {