diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-06-29 17:15:35 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-06-29 17:15:35 +0200 |
commit | 3c67bae5221684d0de35583290e1f39475490690 (patch) | |
tree | 2ab33d8b27dc31d5a64845b197ef58bbc879b73b /desktop | |
parent | 955ebe83a8e57a776044b7f7749b4701ba82b8f4 (diff) |
String to OUString
Change-Id: I68c0cc796760928c70cd29be27ed1280f9117702
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 0133d7d54621..d79161eb8d89 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -460,12 +460,12 @@ Reference<XComponentContext> getUNO( { if (! s_lockfile.check( 0 )) { - String sMsg(ResId(RID_STR_CONCURRENTINSTANCE, *DeploymentResMgr::get())); + OUString sMsg(ResId(RID_STR_CONCURRENTINSTANCE, *DeploymentResMgr::get())); //Create this string before we call DeInitVCL, because this will kill //the ResMgr - String sError(ResId(RID_STR_UNOPKG_ERROR, *DeploymentResMgr::get())); + OUString sError(ResId(RID_STR_UNOPKG_ERROR, *DeploymentResMgr::get())); - sMsg = sMsg + OUString("\n") + getLockFilePath(); + sMsg += "\n" + getLockFilePath(); if (bGui) { @@ -483,7 +483,7 @@ Reference<XComponentContext> getUNO( DeInitVCL(); } - throw LockFileException(OUString("\n") + sError + sMsg + "\n"); + throw LockFileException("\n" + sError + sMsg + "\n"); } } |