diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 10:02:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 10:29:21 +0000 |
commit | 554ff8ef0f734cbc33644a075c83cc840fb770ab (patch) | |
tree | eca1893fd7c9ebee5461c25dc3ba97d9ab384f05 /tools | |
parent | dd747c0669f6e31462c39fe104d2f2c0acc4de0a (diff) |
coverity#1371265 Missing move assignment operator
Change-Id: I5b7c6992e92e4d096b8230774ed8f4bfaaad5831
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/memtools/multisel.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index bcb23368cb4a..903b1ff7a901 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -72,6 +72,14 @@ MultiSelection::MultiSelection(): { } +void MultiSelection::Reset() +{ + aTotRange = Range(0, -1); + bCurValid = false; + // clear the old sub selections + ImplClear(); +} + MultiSelection::MultiSelection( const MultiSelection& rOrig ) : aTotRange(rOrig.aTotRange), nSelCount(rOrig.nSelCount), |