summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/localfilehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/localfilehelper.cxx')
-rw-r--r--unotools/source/ucbhelper/localfilehelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx
index 2d28dac1adc8..caa19f54675b 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -117,7 +117,7 @@ bool LocalFileHelper::ConvertPhysicalNameToURL(const rtl::OUString& rName, rtl::
try
{
- rtl::OUString aBase( ::ucbhelper::getLocalFileURL( xManager ) );
+ rtl::OUString aBase( ::ucbhelper::getLocalFileURL() );
rReturn = ::ucbhelper::getFileURLFromSystemPath( xManager, aBase, rName );
}
catch (const ::com::sun::star::uno::RuntimeException&)
@@ -145,7 +145,7 @@ bool LocalFileHelper::ConvertURLToPhysicalName(const rtl::OUString& rName, rtl::
try
{
INetURLObject aObj( rName );
- INetURLObject aLocal( ::ucbhelper::getLocalFileURL( xManager ) );
+ INetURLObject aLocal( ::ucbhelper::getLocalFileURL() );
if ( aObj.GetProtocol() == aLocal.GetProtocol() )
rReturn = ::ucbhelper::getSystemPathFromFileURL( xManager, rName );
}