diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-19 23:07:53 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-03-20 12:10:09 +0000 |
commit | 9d548d56cf19b01273f719b52a45f48ab13ed45a (patch) | |
tree | 8b60dd5d056f93cb38bcd25c124b97e26c09a3f5 /svx | |
parent | 77c87c18697e19cb4606717af0e4b0e5ab2139bc (diff) |
Replace String with OUString (unotools)
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8
Reviewed-on: https://gerrit.libreoffice.org/2864
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 103599dac6b9..ae2103614984 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -1398,7 +1398,7 @@ BrokenRecoveryDialog::BrokenRecoveryDialog(Window* pParent , m_sSavePath = SvtPathOptions().GetWorkPath(); INetURLObject aObj( m_sSavePath ); - String sPath; + OUString sPath; ::utl::LocalFileHelper::ConvertURLToSystemPath( aObj.GetMainURL( INetURLObject::NO_DECODE ), sPath ); m_aSaveDirED.SetText( sPath ); @@ -1498,7 +1498,7 @@ void BrokenRecoveryDialog::impl_askForSavePath() if (nRet == css::ui::dialogs::ExecutableDialogResults::OK) { m_sSavePath = xFolderPicker->getDirectory(); - String sPath; + OUString sPath; ::utl::LocalFileHelper::ConvertURLToSystemPath( m_sSavePath, sPath ); m_aSaveDirED.SetText( sPath ); } |