diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2011-06-10 15:46:15 +0100 |
---|---|---|
committer | Nigel Hawkins <n.hawkins@gmx.com> | 2011-06-14 13:04:35 +0100 |
commit | 2bd75a4cac0ecd1275c30e8b3a952bb7555e2b1b (patch) | |
tree | ed8c23beba295dbe29e4406d40c5afc95b573c1c /sw/source/core/unocore/unoparagraph.cxx | |
parent | 48774453b1d2caf427cb0742dc492194a8615941 (diff) |
Replace SvUShortsSort with std::set<sal_uInt16> in SwDoc::ResetAttrs.
This change cascades through to a lot of other files. LGPLv3+/MPL.
Diffstat (limited to 'sw/source/core/unocore/unoparagraph.cxx')
-rw-r--r-- | sw/source/core/unocore/unoparagraph.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx index 2143b1c57df4..bbaf479e2897 100644 --- a/sw/source/core/unocore/unoparagraph.cxx +++ b/sw/source/core/unocore/unoparagraph.cxx @@ -1021,11 +1021,11 @@ throw (beans::UnknownPropertyException, uno::RuntimeException) if (pEntry->nWID < RES_FRMATR_END) { - SvUShortsSort aWhichIds; - aWhichIds.Insert(pEntry->nWID); + std::set<sal_uInt16> aWhichIds; + aWhichIds.insert( pEntry->nWID ); if (pEntry->nWID < RES_PARATR_BEGIN) { - aCursor.GetDoc()->ResetAttrs(aCursor, sal_True, &aWhichIds); + aCursor.GetDoc()->ResetAttrs(aCursor, sal_True, aWhichIds); } else { @@ -1047,7 +1047,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException) { pTemp->MovePara(fnParaCurr, fnParaEnd); } - pTemp->GetDoc()->ResetAttrs(*pTemp, sal_True, &aWhichIds); + pTemp->GetDoc()->ResetAttrs(*pTemp, sal_True, aWhichIds); } } else |