diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-23 13:43:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-23 13:44:03 +0200 |
commit | 8949bcad4095008dc147c6fd6e633c177144dfa8 (patch) | |
tree | 46f71100c7c8100d525ca8657e1f8466e5057485 /unoidl/source/sourcetreeprovider.hxx | |
parent | d0322208bcbb35b9149b508ac2bffa667c38696f (diff) |
Remove circular references between unoidl::Manager and its providers
Change-Id: Ic6ad3e2c7f69dd123077a913f35f1971f1e8ca13
Diffstat (limited to 'unoidl/source/sourcetreeprovider.hxx')
-rw-r--r-- | unoidl/source/sourcetreeprovider.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unoidl/source/sourcetreeprovider.hxx b/unoidl/source/sourcetreeprovider.hxx index 57ae3d5823f3..0c1d993f5453 100644 --- a/unoidl/source/sourcetreeprovider.hxx +++ b/unoidl/source/sourcetreeprovider.hxx @@ -22,8 +22,7 @@ namespace unoidl { namespace detail { class SourceTreeProvider: public Provider { public: // throws FileFormatException, NoSuchFileException: - SourceTreeProvider( - rtl::Reference<Manager> const & manager, OUString const & uri); + SourceTreeProvider(Manager & manager, OUString const & uri); // throws FileFormatException: virtual rtl::Reference<MapCursor> createRootCursor() const SAL_OVERRIDE; @@ -34,7 +33,7 @@ public: private: virtual ~SourceTreeProvider() throw (); - rtl::Reference<Manager> manager_; + Manager & manager_; OUString uri_; mutable std::map< OUString, rtl::Reference<Entity> > cache_; //TODO: at manager }; |