summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-16 08:51:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-17 17:45:09 +0200
commit3581de4d1d7dc3910b4642a2baef534dcd882597 (patch)
treecece21054c760690aa4470c407e753ede13eb686 /svl
parent3fec689480644c274501740013ff83388cb24245 (diff)
drop sal_uInt16* constructor in SfxItemSet
Change-Id: Ifb283a49b01c9c6421e385f697e749439db6a53f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119008 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/itemset.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 324cf6da69f0..55804cdfe723 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -119,17 +119,6 @@ SfxItemSet::SfxItemSet(
m_pItems.reset( new SfxPoolItem const *[size]{} );
}
-SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable )
- : m_pPool(&rPool)
- , m_pParent(nullptr)
- , m_nCount(0)
-{
- const auto& [nCnt, nCap] = svl::detail::CountRangesOld(pWhichPairTable);
- m_pItems.reset(new const SfxPoolItem* [nCap] {});
- m_pWhichRanges = WhichRangesContainer(reinterpret_cast<const WhichPair*>(pWhichPairTable), (nCnt-1)/2);
- assert(svl::detail::validRanges2(m_pWhichRanges));
-}
-
SfxItemSet::SfxItemSet( const SfxItemSet& rASet )
: m_pPool( rASet.m_pPool )
, m_pParent( rASet.m_pParent )