summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:24:18 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-18 12:29:42 +0100
commit49fbda99b4e563be54ee7c85560a5929f0627654 (patch)
treea1e78faf0252520bfeec82d9df190f010928740f /unoidl
parent65717f77c43ca7cbf91e4c158d643a02a181e439 (diff)
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+LibreOffice@googlemail.com>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourcefileprovider.hxx17
-rw-r--r--unoidl/source/sourcetreeprovider.hxx18
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