summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/clang-format/excludelist2
-rw-r--r--unoidl/source/sourcefileprovider.hxx17
-rw-r--r--unoidl/source/sourcetreeprovider.hxx18
3 files changed, 17 insertions, 20 deletions
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