diff options
-rw-r--r-- | solenv/clang-format/excludelist | 2 | ||||
-rw-r--r-- | store/source/object.cxx | 6 | ||||
-rw-r--r-- | store/source/object.hxx | 12 |
3 files changed, 6 insertions, 14 deletions
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 |