From 49fbda99b4e563be54ee7c85560a5929f0627654 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Thu, 12 Nov 2020 13:24:18 +0100 Subject: tdf#123936 Formatting files in module unoidl with clang-format Change-Id: If315a05bcb237dc2922981c0d041b0c0b5d152d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105724 Tested-by: Jenkins Reviewed-by: Christian Lohmaier --- unoidl/source/sourcefileprovider.hxx | 17 ++++++++--------- unoidl/source/sourcetreeprovider.hxx | 18 +++++++++--------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'unoidl') 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 #include -namespace unoidl::detail { - -class SourceFileProvider: public Provider { +namespace unoidl::detail +{ +class SourceFileProvider : public Provider +{ public: // throws FileFormatException, NoSuchFileException: - SourceFileProvider( - rtl::Reference const & manager, OUString const & uri); + SourceFileProvider(rtl::Reference const& manager, OUString const& uri); // throws FileFormatException: virtual rtl::Reference createRootCursor() const override; // throws FileFormatException: - virtual rtl::Reference findEntity(OUString const & name) const override; + virtual rtl::Reference findEntity(OUString const& name) const override; private: - virtual ~SourceFileProvider() throw () override; + virtual ~SourceFileProvider() throw() override; - std::map< OUString, rtl::Reference > rootMap_; + std::map> 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 #include -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 createRootCursor() const override; // throws FileFormatException: - virtual rtl::Reference findEntity(OUString const & name) const override; + virtual rtl::Reference 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 > cache_; //TODO: at manager + mutable std::map> cache_; //TODO: at manager }; - } #endif -- cgit