diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2017-04-17 18:40:21 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-04-18 13:05:05 +0200 |
commit | 81291d622394682be44b80a87a856c0f891809d4 (patch) | |
tree | 962ca37ab68bbdb3707217991029db6e6eaca940 /editeng | |
parent | ed900113d091431f89ccc312b55a6955ca341b9e (diff) |
cppcheck: useInitializationList
Change-Id: Iee4db89fe3bd256da0b7ff0f40a3c4789666c525
Reviewed-on: https://gerrit.libreoffice.org/36633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit5.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 83d60c75165c..9a91f087f960 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -817,14 +817,14 @@ void IdleFormattter::ForceTimeout() } ImplIMEInfos::ImplIMEInfos( const EditPaM& rPos, const OUString& rOldTextAfterStartPos ) - : aOldTextAfterStartPos( rOldTextAfterStartPos ) -{ - aPos = rPos; - nLen = 0; - bCursor = true; - pAttribs = nullptr; - bWasCursorOverwrite = false; -} + : aOldTextAfterStartPos( rOldTextAfterStartPos ), + pAttribs(nullptr), + aPos(rPos), + nLen(0), + bCursor(true), + bWasCursorOverwrite(false) + { + } ImplIMEInfos::~ImplIMEInfos() { |