diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:18:21 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-11-16 12:25:33 +0100 |
commit | 9d561c5440dd68285aa84fb3dac20a8d1df4870f (patch) | |
tree | 312c436e05911eaff40f3c5959223ed31c367095 /store | |
parent | 5109a3ed77c00708d1981b60120698f0e1833313 (diff) |
tdf#123936 Formatting files in module store with clang-format
Change-Id: I3bf0ea654f046172cab2566f357bc9c3354b8e6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'store')
-rw-r--r-- | store/source/object.cxx | 6 | ||||
-rw-r--r-- | store/source/object.hxx | 12 |
2 files changed, 6 insertions, 12 deletions
diff --git a/store/source/object.cxx b/store/source/object.cxx index 04427e64c933..b961bd67fecc 100644 --- a/store/source/object.cxx +++ b/store/source/object.cxx @@ -23,7 +23,6 @@ namespace store { - /*======================================================================== * * OStoreObject implementation. @@ -34,10 +33,7 @@ const sal_uInt32 OStoreObject::m_nTypeId = sal_uInt32(0x58190322); /* * isKindOf. */ -bool OStoreObject::isKindOf (sal_uInt32 nTypeId) -{ - return (nTypeId == m_nTypeId); -} +bool OStoreObject::isKindOf(sal_uInt32 nTypeId) { return (nTypeId == m_nTypeId); } } // namespace store diff --git a/store/source/object.hxx b/store/source/object.hxx index f19936558ccb..c3e217a7a14b 100644 --- a/store/source/object.hxx +++ b/store/source/object.hxx @@ -25,7 +25,6 @@ namespace store { - class OStoreObject : public virtual salhelper::SimpleReferenceObject { public: @@ -35,7 +34,7 @@ public: /** Replaces dynamic_cast type checking. */ - virtual bool isKindOf (sal_uInt32 nTypeId); + virtual bool isKindOf(sal_uInt32 nTypeId); protected: /** Destruction. @@ -46,15 +45,14 @@ private: /** The IStoreHandle TypeId. */ static const sal_uInt32 m_nTypeId; - OStoreObject (const OStoreObject&) = delete; - OStoreObject& operator= (const OStoreObject&) = delete; + OStoreObject(const OStoreObject&) = delete; + OStoreObject& operator=(const OStoreObject&) = delete; }; /** Template helper function as dynamic_cast replacement. */ -template<class store_handle_type> -store_handle_type * SAL_CALL query ( - OStoreObject * pHandle, store_handle_type *); +template <class store_handle_type> +store_handle_type* SAL_CALL query(OStoreObject* pHandle, store_handle_type*); } // namespace store |