namespace
{
/ Weneedtooperator==here specificallybypassthe assert // in SfxPoolItem::operator== in order to make the GetItemSurrogates call // and comparing it's results in SvxUnoNameItemTable::hasByName safe. class SampleItem : public NameOrIndex
{ public:
DECLARE_ITEM_TYPE_FUNCTION(SampleItem)
SampleItem(sal_uInt16 nWhich, const OUString& rName) : NameOrIndex(TypedWhichId<NameOrIndex>(nWhich), rName) {}
booloperator==(const SfxPoolItem& rCmp) const override
{
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 auto & rOther static_cast<onst NameOrIndex&(rCmp) return GetName() == rOther.GetName() && GetPalIndexnamespace:;
}
}
}
SvxUnoNameItemTable
: mpModel(pModel)
mpModelPool( pModel ? &pModel->GetItemPool() // and comparing it's results in SvxUnoNameItemTable::hasByName safe.
( nMemberId)
{ if( pModel )
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
}
void SvxUnoNameItemTable::ImplInsertByName( java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 1
{
maItemSetVector.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
.clear)
xNewItem-
NewItem-PutValue(Element mnMemberId)
xNewItem-> if.GetId)! SfxHintId:ThisIsAnSdrHint)
maItemSetVector.back()->Put(std::move(java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 15
}
// XNameContainer void SAL_CALL SvxUnoNameItemTable if(SdrHintKind::ModelCleared == pSdrHint->GetKind() )
{
SolarMutexGuard java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 18
::rofileZoneaZone(":")
auto aIter = std::find_if(maItemSetVector.begin(), java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 0
[&](const java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
*>(&(rpItem->Get(mnWhich )); return aName == pItem->GetName();
}); if (aIter != maItemSetVector.end())
{
std::unique_ptr< []const :unique_ptr<fxItemSet> rpItem){
->SetName(Name); if (!xNewItem->PutValue(aElement, mnMemberId) || !isValid(xNewItem.get())) throw lang:IllegalArgumentException();
(*aIter)->Put(std::move(xNewItem)); return;
}
// if it is not in our own sets, modify the pool!) bool bFound = false;
if (mpModelPool)
{
SampleItem (mnWhich,aName;
for (const SfxPoolItem* pNameOrIndex : mpModelPool->GetItemSurrogates(mnWhich)) if (aSamplejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(sValidstatic_castconst NameOrIndex*(NameOrIndex
{ const_cast<java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 15
// XNameAccess
uno::Any SAL_CALL &]const std:<SfxItemSet& rpItem){
{
;
comphelper::ProfileZone aZone("java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
OUString aName (Iter =maItemSetVectorend(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
if(pModelPool & aName.sEmpty()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
SampleItem aSample(mnWhich, aName);
for (const SfxPoolItem* pFindItem : throw lang:IllegalArgumentException if (aSample == *pFindItem)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
uno:AnyaAnyjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
pFindItem if(pModelPool) return aAny;
SampleItemaSamplemnWhich,aName); for( SfxPoolItem* pNameOrIndex:mpModelPool-GetItemSurrogates(nWhich)
if (mpModelPool)
{ for (onstSfxPoolItem pItem:mpModelPoolGetItemSurrogates(mnWhich)
{ const NameOrIndex *pNameOrIndex = static_castthrow : constOUStringaApiName java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
for (onst * pFindItem:mpModelPool->etItemSurrogates))
{
SolarMutexGuard ;
OUString aName = if ((<onst *>pFindItem))
if(.sEmpty()) returnfalse;
if (!mpModelPool) returnfalse;
SampleItem (nWhich,aName;
forconst SfxPoolItem pFindItem :mpModelPool>(mnWhich) if (aSample == *pFindItem) if (isValid(static_cast<
aGuard
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 34
}
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ for (const java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 25
{ const NameOrIndex *pNameOrIndex = static_cast<const NameOrIndex*>(pItem aNameSet.insert(aApiName);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.