diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-27 16:38:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 11:35:59 +0200 |
commit | 42b0440d55a522806cbb36ea448b61749188ae6b (patch) | |
tree | 98efa3fe9d16c81adf9cf75a72a8d6f47467e76b /sw/source/filter/ww8/ww8par.cxx | |
parent | b359064463fffab69425ad960bbf9f9984b32aaa (diff) |
loplugin:mergeclasses merge SwpHintsArray with SwpHints
and clean up the API a little, there were multiple versions
of the same accessor with different names.
Change-Id: I01e44a7a81c0d67cbb6135a6d196ee106cbf994a
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 1142325a4e93..07420057f9b8 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5293,7 +5293,7 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss) const SwpHints* pHints = pTextNode->GetpSwpHints(); for( size_t nHintPos = 0; pHints && nHintPos < pHints->Count(); ++nHintPos) { - const SwTextAttr *pHt = (*pHints)[nHintPos]; + const SwTextAttr *pHt = pHints->Get(nHintPos); const sal_Int32 st = pHt->GetStart(); if( pHt && pHt->Which() == RES_TXTATR_FLYCNT |