diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 15:32:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 15:33:11 +0000 |
commit | b2e84f9a40fda7821d4e658f9102bcbc783a1ba3 (patch) | |
tree | 455193b9d5cf503653c72476f77c2c6267da4800 /sw/source/core/fields/cellfml.cxx | |
parent | 7434fa5bbd051dc4842bc76d33f27e07f10e0053 (diff) |
std::map::erase takes a nonconst iterator
Diffstat (limited to 'sw/source/core/fields/cellfml.cxx')
-rw-r--r-- | sw/source/core/fields/cellfml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx index 5e7c1e434c85..17d3db2f8fc7 100644 --- a/sw/source/core/fields/cellfml.cxx +++ b/sw/source/core/fields/cellfml.cxx @@ -349,7 +349,7 @@ void SwTableFormula::_MakeFormel( const SwTable& rTbl, String& rNewStr, rNewStr += '('; bool bDelim = false; - for( SwSelBoxes::const_iterator it = aBoxes.begin(); + for( SwSelBoxes::iterator it = aBoxes.begin(); it != aBoxes.end() && !pCalcPara->rCalc.IsCalcError(); ++it ) { @@ -960,7 +960,7 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox, break; // dann mal die Tabellenkoepfe raus: - for( SwSelBoxes::const_iterator it = rBoxes.begin(); it != rBoxes.end(); ++it ) + for( SwSelBoxes::iterator it = rBoxes.begin(); it != rBoxes.end(); ++it ) { pLine = it->second->GetUpper(); while( pLine->GetUpper() ) |