summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwptablelayout.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 14:55:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:14:21 +0200
commit5e1719ff1ed5b4350684c3ed67b5375bb49e0223 (patch)
tree575fabb7266dcb1d94dfd260b765570e6c934529 /lotuswordpro/source/filter/lwptablelayout.cxx
parentda95fc2983e9deea30b9b7148a6e10b5423ed3e1 (diff)
loplugin:sequentialassign in linguistic..lotuswordpro
Change-Id: Ic561f56e1cfe06de219bd7a257186107b5c152fb Reviewed-on: https://gerrit.libreoffice.org/70706 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwptablelayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx
index e7438cb27b0d..f14990156d01 100644
--- a/lotuswordpro/source/filter/lwptablelayout.cxx
+++ b/lotuswordpro/source/filter/lwptablelayout.cxx
@@ -1400,8 +1400,7 @@ XFCell* LwpTableLayout::GetCellsMap(sal_uInt16 nRow,sal_uInt8 nCol)
std::pair<sal_uInt16,sal_uInt8> pos;
pos.first = nRow;
pos.second = nCol;
- std::map<std::pair<sal_uInt16,sal_uInt8>,XFCell*>::iterator iter;
- iter = m_CellsMap.find(pos);
+ auto iter = m_CellsMap.find(pos);
if (iter == m_CellsMap.end())
return nullptr;
return iter->second;