summaryrefslogtreecommitdiff
path: root/svx/source/dialog/docrecovery.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-31 17:37:03 +0200
committerNoel Grandin <noel@peralex.com>2013-11-08 08:44:33 +0200
commit913b4e7d856ad6392588886a4124d05676e8968d (patch)
tree0657c6a9bacb68cbc30a93e394c207086f317938 /svx/source/dialog/docrecovery.cxx
parenta5536d9a0eac922d18f9008122034ca943d50148 (diff)
remove unnecessary use of OUString constructor in SVX module
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
Diffstat (limited to 'svx/source/dialog/docrecovery.cxx')
-rw-r--r--svx/source/dialog/docrecovery.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index b12caee37534..a2586fc1ca7e 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -1432,7 +1432,7 @@ void BrokenRecoveryDialog::impl_refresh()
sal_uInt16 nPos = m_aFileListLB.InsertEntry(rInfo.DisplayName, rInfo.StandardImage );
m_aFileListLB.SetEntryData( nPos, (void*)&rInfo );
}
- m_sSavePath = OUString();
+ m_sSavePath = "";
m_aOkBtn.GrabFocus();
}
@@ -1926,11 +1926,11 @@ void BrokenRecoveryDialog::impl_askForSavePath()
{
#if defined(WNT)
- OUString ustrValue = OUString("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/bootstrap.ini:UserInstallation}");
+ OUString ustrValue = "${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/bootstrap.ini:UserInstallation}";
#elif defined( MACOSX )
- OUString ustrValue = OUString("~");
+ OUString ustrValue = "~";
#else
- OUString ustrValue = OUString("$SYSUSERCONFIG");
+ OUString ustrValue = "$SYSUSERCONFIG";
#endif
Bootstrap::expandMacros( ustrValue );
@@ -1948,11 +1948,7 @@ void BrokenRecoveryDialog::impl_askForSavePath()
static OUString GetPreviewURL()
{
- OUString aURL = GetCrashConfigDir();
-
- aURL += OUString( "/" );
- aURL += OUString( PRVFILE );
-
+ OUString aURL = GetCrashConfigDir() + "/" + PRVFILE;
return aURL;
}