summaryrefslogtreecommitdiff
path: root/ucbhelper
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 /ucbhelper
parent6cd581f240f9be985e92365f9da0c919142005b4 (diff)
ucbhelper::GetLocalFileURL does not use its arg.
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx8
-rw-r--r--ucbhelper/source/client/fileidentifierconverter.cxx4
2 files changed, 2 insertions, 10 deletions
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