From aa892d2b432319f949d0b45a0529036984f1aad7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Jun 2013 13:05:46 +0200 Subject: Fix support for "dummy" content providers ...and use it so that private: URLs are not needlessly passed to the gio or gnome-vfs "catch-all" UCPs. Change-Id: I85d100567d1641130449fe21ccd072bcc0ec0979 --- include/ucbhelper/registerucb.hxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/ucbhelper/registerucb.hxx') diff --git a/include/ucbhelper/registerucb.hxx b/include/ucbhelper/registerucb.hxx index 89b1d005ca5e..b50d2f6165da 100644 --- a/include/ucbhelper/registerucb.hxx +++ b/include/ucbhelper/registerucb.hxx @@ -42,6 +42,10 @@ namespace ucbhelper { struct ContentProviderData { /** The UNO service name to use to instanciate the content provider. + + If it is the empty string, a null provider will be used (see the + documentation of the Provider argument to + com.sun.star.ucb.XContentProviderManager.registerContentProvider). */ OUString ServiceName; @@ -71,7 +75,10 @@ typedef std::vector< ContentProviderData > ContentProviderDataList; @param rServiceFactory A factory through which to obtain the required services. - @param rName The service name of the content provider. + @param rName The service name of the content provider. If it is the empty + string, a null provider will be used (see the documentation of the Provider + argument to + com.sun.star.ucb.XContentProviderManager.registerContentProvider). @param rArguments Any arguments to instantiate the content provider with. -- cgit