diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 09:48:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 11:56:05 +0200 |
commit | 51a50cc95a8cb461b7026c1eb8908e17f4055076 (patch) | |
tree | 01d3062cc93857684ec40a5b162b62178f89558b /sw/source/core/docnode/nodes.cxx | |
parent | 7274490e8af1de05ab84b5e08017a3378502ea96 (diff) |
improve useuniqueptr loplugin to find arrays
Change-Id: I81e9d0cd4f430b11d20037054055683240792240
Reviewed-on: https://gerrit.libreoffice.org/39825
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/docnode/nodes.cxx')
-rw-r--r-- | sw/source/core/docnode/nodes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx index d4facd6f46bd..34d66e71d022 100644 --- a/sw/source/core/docnode/nodes.cxx +++ b/sw/source/core/docnode/nodes.cxx @@ -2184,7 +2184,7 @@ void SwNodes::ForEach( sal_uLong nStart, sal_uLong nEnd, if( nStart < nEnd ) { sal_uInt16 cur = Index2Block( nStart ); - BlockInfo** pp = m_ppInf + cur; + BlockInfo** pp = m_ppInf.get() + cur; BlockInfo* p = *pp; sal_uInt16 nElem = sal_uInt16( nStart - p->nStart ); auto pElem = p->mvData.begin() + nElem; |