From b149b0433d28b89b187f04455bcb242b8b17a48c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 20 Jan 2012 11:53:46 +0100 Subject: ucbhelper::GetLocalFileURL does not use its arg. --- ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx | 8 +------- ucbhelper/source/client/fileidentifierconverter.cxx | 4 +--- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx b/ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx index 14bfb177545f..262d32a507d6 100644 --- a/ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx +++ b/ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx @@ -48,17 +48,11 @@ namespace ucbhelper { The result can be used as the rBaseURL parameter of ucb::getFileURLFromSystemPath(). - @param rManager - A content provider manager. Must not be null. - @returns either a 'root' URL for the most 'local' file content provider, or an empty string, if no such URL can meaningfully be constructed. */ -UCBHELPER_DLLPUBLIC rtl::OUString getLocalFileURL( - com::sun::star::uno::Reference< - com::sun::star::ucb::XContentProviderManager > const & - rManager) +UCBHELPER_DLLPUBLIC rtl::OUString getLocalFileURL() SAL_THROW((com::sun::star::uno::RuntimeException)); //============================================================================ diff --git a/ucbhelper/source/client/fileidentifierconverter.cxx b/ucbhelper/source/client/fileidentifierconverter.cxx index a4428e5b28af..1abfedd85b51 100644 --- a/ucbhelper/source/client/fileidentifierconverter.cxx +++ b/ucbhelper/source/client/fileidentifierconverter.cxx @@ -47,9 +47,7 @@ namespace ucbhelper { //============================================================================ rtl::OUString -getLocalFileURL( - uno::Reference< ucb::XContentProviderManager > const &) - SAL_THROW((uno::RuntimeException)) +getLocalFileURL() SAL_THROW((uno::RuntimeException)) { // If there were more file systems than just "file:///" (e.g., the obsolete // "vnd.sun.star.wfs:///"), this code should query all relevant UCPs for -- cgit