diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:07:21 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-19 01:37:21 +0100 |
commit | 69b12a6eb3616d15035310eeb0c3dbc7aefcb5c1 (patch) | |
tree | 85fa3dd6e742033dc0b5a04b45a1e035a4c93cbd /lotuswordpro/source/filter/lwpholder.hxx | |
parent | 6ceb1d0f2e23749fe03fab08ec338ba4d7782173 (diff) |
tdf#123936 Formatting files in module lotuswordpro with clang-format
Change-Id: I3110b452b6c81fb7e5c10f6ba98ce521c51c0427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105690
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'lotuswordpro/source/filter/lwpholder.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpholder.hxx | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpholder.hxx b/lotuswordpro/source/filter/lwpholder.hxx index 2b5bbc2acb01..a98234f10cf4 100644 --- a/lotuswordpro/source/filter/lwpholder.hxx +++ b/lotuswordpro/source/filter/lwpholder.hxx @@ -70,9 +70,10 @@ class LwpDLVListHeadHolder : public LwpObject { public: - LwpDLVListHeadHolder(LwpObjectHeader const & objHdr, LwpSvStream* pStrm); + LwpDLVListHeadHolder(LwpObjectHeader const& objHdr, LwpSvStream* pStrm); void Read() override; - LwpObjectID& GetHeadID() { return m_DLVHead;} + LwpObjectID& GetHeadID() { return m_DLVHead; } + private: virtual ~LwpDLVListHeadHolder() override {} @@ -85,10 +86,11 @@ private: class LwpDLVListHeadTailHolder final : public LwpObject { public: - LwpDLVListHeadTailHolder(LwpObjectHeader const & objHdr, LwpSvStream* pStrm); + LwpDLVListHeadTailHolder(LwpObjectHeader const& objHdr, LwpSvStream* pStrm); void Read() override; - LwpObjectID& GetHead(){ return m_HeadTail.GetHead();} - LwpObjectID& GetTail(){ return m_HeadTail.GetTail();} + LwpObjectID& GetHead() { return m_HeadTail.GetHead(); } + LwpObjectID& GetTail() { return m_HeadTail.GetTail(); } + private: virtual ~LwpDLVListHeadTailHolder() override {} @@ -101,11 +103,13 @@ private: class LwpObjectHolder : public LwpDLVList { public: - LwpObjectHolder(LwpObjectHeader const & objHdr, LwpSvStream* pStrm); + LwpObjectHolder(LwpObjectHeader const& objHdr, LwpSvStream* pStrm); void Read() override; LwpObjectID& GetObject() { return m_Object; } + protected: virtual ~LwpObjectHolder() override {} + private: LwpObjectID m_Object; }; @@ -117,9 +121,10 @@ private: class LwpListList final : public LwpObjectHolder { public: - LwpListList(LwpObjectHeader const & objHdr, LwpSvStream* pStrm); + LwpListList(LwpObjectHeader const& objHdr, LwpSvStream* pStrm); void Read() override; - LwpObjectID& GetHead(){ return m_HeadTail.GetHead();} + LwpObjectID& GetHead() { return m_HeadTail.GetHead(); } + private: virtual ~LwpListList() override {} |