diff options
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/sourcefileprovider.hxx | 17 | ||||
-rw-r--r-- | unoidl/source/sourcetreeprovider.hxx | 18 |
2 files changed, 17 insertions, 18 deletions
diff --git a/unoidl/source/sourcefileprovider.hxx b/unoidl/source/sourcefileprovider.hxx index 4229301ded50..2d986cc1f39d 100644 --- a/unoidl/source/sourcefileprovider.hxx +++ b/unoidl/source/sourcefileprovider.hxx @@ -16,26 +16,25 @@ #include <rtl/ref.hxx> #include <unoidl/unoidl.hxx> -namespace unoidl::detail { - -class SourceFileProvider: public Provider { +namespace unoidl::detail +{ +class SourceFileProvider : public Provider +{ public: // throws FileFormatException, NoSuchFileException: - SourceFileProvider( - rtl::Reference<Manager> const & manager, OUString const & uri); + SourceFileProvider(rtl::Reference<Manager> const& manager, OUString const& uri); // throws FileFormatException: virtual rtl::Reference<MapCursor> createRootCursor() const override; // throws FileFormatException: - virtual rtl::Reference<Entity> findEntity(OUString const & name) const override; + virtual rtl::Reference<Entity> findEntity(OUString const& name) const override; private: - virtual ~SourceFileProvider() throw () override; + virtual ~SourceFileProvider() throw() override; - std::map< OUString, rtl::Reference<Entity> > rootMap_; + std::map<OUString, rtl::Reference<Entity>> rootMap_; }; - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoidl/source/sourcetreeprovider.hxx b/unoidl/source/sourcetreeprovider.hxx index ece737f5256e..e98ee7383fad 100644 --- a/unoidl/source/sourcetreeprovider.hxx +++ b/unoidl/source/sourcetreeprovider.hxx @@ -17,27 +17,27 @@ #include <rtl/ref.hxx> #include <unoidl/unoidl.hxx> -namespace unoidl::detail { - -class SourceTreeProvider: public Provider { +namespace unoidl::detail +{ +class SourceTreeProvider : public Provider +{ public: // throws FileFormatException, NoSuchFileException: - SourceTreeProvider(Manager & manager, OUString const & uri); + SourceTreeProvider(Manager& manager, OUString const& uri); // throws FileFormatException: virtual rtl::Reference<MapCursor> createRootCursor() const override; // throws FileFormatException: - virtual rtl::Reference<Entity> findEntity(OUString const & name) const override; + virtual rtl::Reference<Entity> findEntity(OUString const& name) const override; private: - virtual ~SourceTreeProvider() throw () override; + virtual ~SourceTreeProvider() throw() override; - Manager & manager_; + Manager& manager_; OUString uri_; - mutable std::map< OUString, rtl::Reference<Entity> > cache_; //TODO: at manager + mutable std::map<OUString, rtl::Reference<Entity>> cache_; //TODO: at manager }; - } #endif |