diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-07-28 21:21:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-29 08:52:51 +0200 |
commit | 01b4c5b27f38d606b05e7a9236ec151e8039972a (patch) | |
tree | caa3df2686d23f7c2318b1d4a3f55b175653b743 /ucb | |
parent | c97df0d704bfa5eebe573386445abfa4dcfd95b8 (diff) |
cppcheck: useInitializationList in test to xmloff
Change-Id: I50545784c5412ab7767f401c6e40058a1d0bfab0
Reviewed-on: https://gerrit.libreoffice.org/58262
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 906e368a0523..9aa77f91c608 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -1680,10 +1680,10 @@ void SortedResultSet::ResortNew( EventList* pList ) SortListData::SortListData( sal_IntPtr nPos ) + : mbModified(false) + , mnCurPos(nPos) + , mnOldPos(nPos) { - mbModified = false; - mnCurPos = nPos; - mnOldPos = nPos; }; SortedEntryList::SortedEntryList() |