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>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
5109a3ed77
commit
9d561c5440
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user