summaryrefslogtreecommitdiffstats
path: root/svtools/source
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-19 23:07:53 +0100
committerNoel Power <noel.power@suse.com>2013-03-20 12:10:09 +0000
commit9d548d56cf19b01273f719b52a45f48ab13ed45a (patch)
tree8b60dd5d056f93cb38bcd25c124b97e26c09a3f5 /svtools/source
parentDeprecate confusing rtl::OUString::compareToAscii(asciiStr, maxLength) (diff)
downloadcore-9d548d56cf19b01273f719b52a45f48ab13ed45a.tar.gz
core-9d548d56cf19b01273f719b52a45f48ab13ed45a.zip
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 'svtools/source')
-rw-r--r--svtools/source/control/inettbc.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 983e4ca311f0..603e5ee38f91 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -555,7 +555,9 @@ String SvtURLBox::ParseSmart( String aText, String aBaseURL, String aWorkDir )
}
else
{
- ::utl::LocalFileHelper::ConvertSystemPathToURL( aText, aWorkDir, aMatch );
+ OUString aTmpMatch;
+ ::utl::LocalFileHelper::ConvertSystemPathToURL( OUString(aText), OUString(aWorkDir), aTmpMatch );
+ aMatch = aTmpMatch;
}
return aMatch;
@@ -988,7 +990,7 @@ void SvtURLBox::UpdatePicklistForSmartProtocol_Impl()
}
if ( bFound )
{
- String aFile;
+ OUString aFile;
if (::utl::LocalFileHelper::ConvertURLToSystemPath(aURL,aFile))
InsertEntry(aFile);
else