diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-25 21:45:18 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-26 18:33:22 +0100 |
commit | 08ce9a9293523c2b49e3beda62c0eb0f75be2745 (patch) | |
tree | 00f36387152fa1bb3c1387c147e6e2b9d70a67e9 /sw/source/core/text/porexp.hxx | |
parent | 83ad0fe65f97e879ed65a72b789a86028caec1f2 (diff) |
cppcheck: performing init in init list (sw/vcl/xmloff)
Change-Id: I8e6c77847e1c2ec386c27c34b75160f4a44da2fe
Reviewed-on: https://gerrit.libreoffice.org/83717
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/text/porexp.hxx')
-rw-r--r-- | sw/source/core/text/porexp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx index 979516ffdafe..6ab851ad3b2b 100644 --- a/sw/source/core/text/porexp.hxx +++ b/sw/source/core/text/porexp.hxx @@ -43,7 +43,7 @@ class SwBlankPortion : public SwExpandPortion public: SwBlankPortion( sal_Unicode cCh, bool bMult = false ) : m_cChar( cCh ), m_bMulti( bMult ) - { m_cChar = cCh; SetLen(TextFrameIndex(1)); SetWhichPor( PortionType::Blank ); } + { SetLen(TextFrameIndex(1)); SetWhichPor( PortionType::Blank ); } virtual SwLinePortion *Compress() override; virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const override; |