summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx8
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");
}
}