summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 09:42:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 14:56:35 +0200
commit6fcb7ca818ebf819008cac55f08fe0e6c310d8cc (patch)
treea14a07916e2795372fb39e183b63cc564c6e2848
parent4ef0af9c14fa5242d3650728947c451493646e03 (diff)
remove obsolete comments
Change-Id: Ie2ceb7abb9bef5e84e740fba32f30697144f1c3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119303 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--svl/source/items/itemset.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 70ec5d1c825f..d48bc568797a 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -63,10 +63,6 @@ SfxItemSet::SfxItemSet(
m_pPool(&pool), m_pParent(nullptr),
m_pItems(new SfxPoolItem const *[items]{}),
m_pWhichRanges(wids),
- // cannot overflow, assuming std::size_t is no smaller than sal_uInt16,
- // as wids.size() must be substantially smaller than
- // std::numeric_limits<sal_uInt16>::max() by construction in
- // SfxItemSet::create
m_nCount(0)
{
assert(wids.size() != 0);
@@ -80,10 +76,6 @@ SfxItemSet::SfxItemSet(
m_pPool(&pool), m_pParent(nullptr),
m_pItems(new SfxPoolItem const *[items]{}),
m_pWhichRanges(std::move(wids)),
- // cannot overflow, assuming std::size_t is no smaller than sal_uInt16,
- // as wids.size() must be substantially smaller than
- // std::numeric_limits<sal_uInt16>::max() by construction in
- // SfxItemSet::create
m_nCount(0)
{
assert(m_pWhichRanges.size() != 0);