diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-14 13:05:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-14 13:05:46 +0200 |
commit | aa892d2b432319f949d0b45a0529036984f1aad7 (patch) | |
tree | 76915ebb9903a33aeff428de620b01d63960ff87 /include/ucbhelper | |
parent | dc2d434687f701884f7c11e130669f63fb606074 (diff) |
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
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/registerucb.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
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. |