diff options
Diffstat (limited to 'svx/inc/textchain.hxx')
-rw-r--r-- | svx/inc/textchain.hxx | 18 |
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 |