diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-01 06:11:09 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-01 07:00:10 +0100 |
commit | 6de8f018b687d37d01d04fde9156438a5c7eed9d (patch) | |
tree | 2a010780201ad3f488d3c7c9d78b3abb59fdd3e5 /dbaccess | |
parent | 5271d78920dd4159025db6786a6f0568b7131a76 (diff) |
coverity#705107: use of invalid iterator
Change-Id: I2f36090f7d1b009466a973f3795c668f001063c2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index c2aa93040892..b80e61387a21 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -815,7 +815,7 @@ void OGenericUnoController::removeStatusListener(const Reference< XStatusListene ) ) { - m_arrStatusListener.erase( iterSearch ); + m_arrStatusListener.erase( iterSearch++ ); if (!bRemoveForAll) // remove the listener only for the given URL, so we can exit the loop after deletion break; |