summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-20 11:53:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-20 12:14:45 +0100
commitb149b0433d28b89b187f04455bcb242b8b17a48c (patch)
treed5fd388600387938feba558903ed977c9e462d00 /unotools
parent6cd581f240f9be985e92365f9da0c919142005b4 (diff)
ucbhelper::GetLocalFileURL does not use its arg.
Diffstat (limited to 'unotools')
-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 );
}