diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-23 19:17:30 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 00:26:41 +0100 |
commit | d002d3e8c241f32ac931c1998d7820d5b7b97e64 (patch) | |
tree | a778febf2445f86359f66e80d40b16d2f8f07e83 /sot | |
parent | debb38c7be8015b4de4aace6f8ac78e4ee2fbfa6 (diff) |
cppcheck: performing init in init list (sot/svl/svtools/svx)
order had been changed in svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
so initialization list was fine
Indeed mpActLineDistFld depends on mpLineDistAtMetricBox
Change-Id: I974e68892fe7ab900774bbe912c51ec56ba4ee43
Reviewed-on: https://gerrit.libreoffice.org/83577
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgio.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx index 08f023c5f52a..7d90c490c634 100644 --- a/sot/source/sdstor/stgio.cxx +++ b/sot/source/sdstor/stgio.cxx @@ -175,9 +175,8 @@ public: } EasyFat::EasyFat( StgIo& rIo, StgStrm* pFatStream, sal_Int32 nPSize ) + : nPages(pFatStream->GetSize() >> 2), nPageSize(nPSize) { - nPages = pFatStream->GetSize() >> 2; - nPageSize = nPSize; pFat.reset( new sal_Int32[ nPages ] ); pFree.reset( new bool[ nPages ] ); |