solenv/clang-format/excludelist | 2 -- unoidl/source/sourcefileprovider.hxx | 17 ++++++++--------- unoidl/source/sourcetreeprovider.hxx | 18 +++++++++--------- 3 files changed, 17 insertions(+), 20 deletions(-)
New commits: commit 49fbda99b4e563be54ee7c85560a5929f0627654 Author: Philipp Hofer <philipp.ho...@protonmail.com> AuthorDate: Thu Nov 12 13:24:18 2020 +0100 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Wed Nov 18 12:29:42 2020 +0100 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 <lohmaier+libreoff...@googlemail.com> diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index d120c0cf86db..0f2d277460db 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -15621,11 +15621,9 @@ unodevtools/source/unodevtools/options.cxx unoidl/source/legacyprovider.cxx unoidl/source/legacyprovider.hxx unoidl/source/sourcefileprovider.cxx -unoidl/source/sourcefileprovider.hxx unoidl/source/sourceprovider-parser-requires.hxx unoidl/source/sourceprovider-scanner.hxx unoidl/source/sourcetreeprovider.cxx -unoidl/source/sourcetreeprovider.hxx unoidl/source/unoidl-check.cxx unoidl/source/unoidl-read.cxx unoidl/source/unoidl-write.cxx 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits