summaryrefslogtreecommitdiff
path: root/svx/inc/textchain.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-07-02 15:02:47 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-07-04 10:06:26 +0200
commitdaca6c1e86c9db1ffe400178d13b8c90b6e7579d (patch)
tree936330a78fcb861357fa262de04a9762de34d5a7 /svx/inc/textchain.hxx
parent38514aecba9bede86d1ca195f9e30592157d1681 (diff)
svx: ImpChainLinkProperties cleanup
Change-Id: I89eb9598dc2cc00284ee6f32a3caf624b405b21d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169849 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Jenkins
Diffstat (limited to 'svx/inc/textchain.hxx')
-rw-r--r--svx/inc/textchain.hxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/svx/inc/textchain.hxx b/svx/inc/textchain.hxx
index 46192852f984..4ff7303ed1cf 100644
--- a/svx/inc/textchain.hxx
+++ b/svx/inc/textchain.hxx
@@ -46,24 +46,16 @@ class ImpChainLinkProperties
protected:
friend class TextChain;
- ImpChainLinkProperties()
- {
- aNilChainingEvent = false;
- aCursorEvent = CursorChainingEvent::NULL_EVENT;
- aPreChainingSel = ESelection();
- aPostChainingSel = ESelection();
- aIsPartOfLastParaInNextLink = false; // XXX: Should come from file
- aSwitchingToNextBox = false;
- }
+ ImpChainLinkProperties() = default;
private:
// NOTE: Remember to set default value in constructor when adding field
ESelection aPreChainingSel;
ESelection aPostChainingSel;
- CursorChainingEvent aCursorEvent;
- bool aNilChainingEvent;
- bool aIsPartOfLastParaInNextLink;
- bool aSwitchingToNextBox;
+ CursorChainingEvent aCursorEvent = CursorChainingEvent::NULL_EVENT;
+ bool aNilChainingEvent = false;
+ bool aIsPartOfLastParaInNextLink = false;
+ bool aSwitchingToNextBox = false;
};
class TextChain