diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /jvmfwk/plugins/sunmajor/pluginlib/util.cxx | |
parent | e9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff) |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/util.cxx')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index b1d75f7e6c86..b1c5eaf286c4 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -403,7 +403,7 @@ bool getJavaProps(const OUString & exePath, //prepare the arguments sal_Int32 cArgs = 3; - OUString arg1 = OUString("-classpath");// + sClassPath; + OUString arg1 = "-classpath";// + sClassPath; OUString arg2 = sClassPath; OUString arg3("JREProperties"); OUString arg4 = "noaccessibility"; @@ -744,7 +744,7 @@ bool getJREInfoFromBinPath( && (index + sMapPath.getLength() == sBinPath.getLength()) && sBinPath[index - 1] == '/') { - sHome = OUString(sBinPath.getStr(), index - 1); + sHome = sBinPath.copy(index - 1); } } if (!sHome.isEmpty()) |