[Libreoffice-commits] core.git: solenv/clang-format store/source
Philipp Hofer (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 16 11:26:21 UTC 2020
solenv/clang-format/excludelist | 2 --
store/source/object.cxx | 6 +-----
store/source/object.hxx | 12 +++++-------
3 files changed, 6 insertions(+), 14 deletions(-)
New commits:
commit 9d561c5440dd68285aa84fb3dac20a8d1df4870f
Author: Philipp Hofer <philipp.hofer at protonmail.com>
AuthorDate: Thu Nov 12 13:18:21 2020 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Nov 16 12:25:33 2020 +0100
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 at googlemail.com>
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index 1d1d3e918f8d..d4ff0c061160 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -12333,8 +12333,6 @@ stoc/test/testsmgr_cpnt.cxx
stoc/test/uriproc/test_uriproc.cxx
store/source/lockbyte.cxx
store/source/lockbyte.hxx
-store/source/object.cxx
-store/source/object.hxx
store/source/storbase.cxx
store/source/storbase.hxx
store/source/storbios.cxx
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
More information about the Libreoffice-commits
mailing list