summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-09 21:05:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-10 10:09:28 +0000
commit3c62fbcdd78e472d3dde604eff33be54cb3e21be (patch)
tree12a45fa393c2ce35a1fdff7efc0a63ef7600b7cd /connectivity
parentsome misc tidyup ( that was reverted ) (diff)
downloadcore-3c62fbcdd78e472d3dde604eff33be54cb3e21be.tar.gz
core-3c62fbcdd78e472d3dde604eff33be54cb3e21be.zip
simplify LocalFileHelper::ConvertURLToPhysicalName
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index e8e4750db3b3..f64a630cd027 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -393,7 +393,7 @@ void ODbaseIndex::createINFEntry()
sCfgFile += m_pTable->getName();
sCfgFile += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".inf"));
- String sPhysicalPath;
+ rtl::OUString sPhysicalPath;
LocalFileHelper::ConvertURLToPhysicalName(sCfgFile,sPhysicalPath);
Config aInfFile(sPhysicalPath);
@@ -436,9 +436,9 @@ sal_Bool ODbaseIndex::DropImpl()
sCfgFile += m_pTable->getName();
sCfgFile += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".inf"));
- String sPhysicalPath;
- String sNDX(sCfgFile);
- OSL_VERIFY_RES( LocalFileHelper::ConvertURLToPhysicalName(sNDX,sPhysicalPath),"Can not convert Config Filename into Physical Name!");
+ rtl::OUString sPhysicalPath;
+ OSL_VERIFY_RES( LocalFileHelper::ConvertURLToPhysicalName(sCfgFile, sPhysicalPath),
+ "Can not convert Config Filename into Physical Name!");
Config aInfFile(sPhysicalPath);
aInfFile.SetGroup(dBASE_III_GROUP);