diff options
author | danielt998 <daniel@fearnley.net> | 2016-02-11 22:07:09 +0000 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-02-12 15:29:25 +0000 |
commit | 2b31daf74e33b988c849cb26e88fa7657a4015af (patch) | |
tree | b4385985063c60b7900c63a1a229ef5165dbc12d /svl/source | |
parent | 662406b44d16c713c3d42585b57caf46689980f0 (diff) |
tdf#95857 Sort out German plurals ...
Made a start in removing the incorrect 'Infos' German plural
Change-Id: Ie989351a7473fc35b563e63ce6a4fb229093af60
Reviewed-on: https://gerrit.libreoffice.org/22301
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/itempool.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 424d35e90d35..ca03fb863f31 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -38,9 +38,9 @@ static void lcl_CheckSlots2(std::map<sal_uInt16, sal_uInt16> & rSlotMap, - SfxItemPool const& rPool, SfxItemInfo const* pInfos) + SfxItemPool const& rPool, SfxItemInfo const* pInfo) { - if (!pInfos) + if (!pInfo) return; // may not be initialized yet if (rPool.GetName() == "EditEngineItemPool") return; // HACK: this one has loads of duplicates already, ignore it :( @@ -48,7 +48,7 @@ lcl_CheckSlots2(std::map<sal_uInt16, sal_uInt16> & rSlotMap, sal_uInt16 const nCount(rPool.GetLastWhich() - rPool.GetFirstWhich() + 1); for (sal_uInt16 n = 0; n < nCount; ++n) { - sal_uInt16 const nSlotId(pInfos[n]._nSID); + sal_uInt16 const nSlotId(pInfo[n]._nSID); if (nSlotId != 0 && nSlotId != 10883 // preexisting duplicate SID_ATTR_GRAF_CROP && nSlotId != 10023 // preexisting duplicate SID_ATTR_BORDER_INNER @@ -166,13 +166,13 @@ SfxItemPool::SfxItemPool const OUString& rName, /* Pool name to identify in the file format */ sal_uInt16 nStartWhich, /* First WhichId of the Pool */ sal_uInt16 nEndWhich, /* Last WhichId of the Pool */ - const SfxItemInfo* pInfos, /* SID Map and Item flags */ + const SfxItemInfo* pInfo, /* SID Map and Item flags */ SfxPoolItem** pDefaults, /* Pointer to static Defaults; is directly referenced by the Pool, but no transfer of ownership */ bool bLoadRefCounts /* Load RefCounts or set to 1? */ ) : - pItemInfos(pInfos), + pItemInfos(pInfo), pImp( new SfxItemPool_Impl( this, rName, nStartWhich, nEndWhich ) ) { pImp->eDefMetric = SFX_MAPUNIT_TWIP; @@ -441,9 +441,9 @@ void SfxItemPool::SetSecondaryPool( SfxItemPool *pPool ) CHECK_SLOTS(); } -void SfxItemPool::SetItemInfos(SfxItemInfo const*const pInfos) +void SfxItemPool::SetItemInfos(SfxItemInfo const*const pInfo) { - pItemInfos = pInfos; + pItemInfos = pInfo; CHECK_SLOTS(); } |