diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-09 21:05:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-10 10:09:28 +0000 |
commit | 3c62fbcdd78e472d3dde604eff33be54cb3e21be (patch) | |
tree | 12a45fa393c2ce35a1fdff7efc0a63ef7600b7cd /unotools/source/config/defaultoptions.cxx | |
parent | ffbd3846d40eaf3dc8e8fa37e57d48ff7da88a5b (diff) |
simplify LocalFileHelper::ConvertURLToPhysicalName
Diffstat (limited to 'unotools/source/config/defaultoptions.cxx')
-rw-r--r-- | unotools/source/config/defaultoptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/defaultoptions.cxx b/unotools/source/config/defaultoptions.cxx index eb8c60068604..1b9d386c1bc1 100644 --- a/unotools/source/config/defaultoptions.cxx +++ b/unotools/source/config/defaultoptions.cxx @@ -199,7 +199,7 @@ void SvtDefaultOptions_Impl::Commit() String SvtDefaultOptions_Impl::GetDefaultPath( sal_uInt16 nId ) const { - String aRet; + rtl::OUString aRet; sal_uInt16 nIdx = 0; while ( PathMap_Impl[nIdx]._ePath <= SvtPathOptions::PATH_WORK ) @@ -213,7 +213,7 @@ String SvtDefaultOptions_Impl::GetDefaultPath( sal_uInt16 nId ) const nId == SvtPathOptions::PATH_MODULE || nId == SvtPathOptions::PATH_PLUGIN ) { - String aTmp; + rtl::OUString aTmp; ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aRet, aTmp ); aRet = aTmp; } |