diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-18 13:30:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-18 14:25:41 +0100 |
commit | c70f5f32e2537639c7ad7e6e63fb760fd7a4ed90 (patch) | |
tree | 8fc5dfb33acca022d41c16d025cf4f0e9e931737 /unoxml | |
parent | 581ec73d0fe5ae09449f0f48d6e3aa7c255ac6c1 (diff) |
use clear() instead of erase(begin, end)
Change-Id: Ie1dcff4c2e5f52521b4172ef5726413a9d048214
Reviewed-on: https://gerrit.libreoffice.org/67961
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/dom/elementlist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx index 7f47c7c0856e..6d47e55c023d 100644 --- a/unoxml/source/dom/elementlist.cxx +++ b/unoxml/source/dom/elementlist.cxx @@ -120,7 +120,7 @@ namespace DOM { return; } else { - m_nodevector.erase(m_nodevector.begin(), m_nodevector.end()); + m_nodevector.clear(); m_bRebuild = false; // don't rebuild until tree is mutated } } |