loplugin:subtlezeroinit: editeng
Change-Id: I2fb3700f00ad76096d048747c8333337d5ffce8f
This commit is contained in:
@@ -491,7 +491,7 @@ void SvxBoundArgs::Concat( const tools::PolyPolygon* pPoly )
|
|||||||
SetConcat( true );
|
SetConcat( true );
|
||||||
DBG_ASSERT( pPoly, "Nothing to do?" );
|
DBG_ASSERT( pPoly, "Nothing to do?" );
|
||||||
LongDqPtr pOld = pLongArr;
|
LongDqPtr pOld = pLongArr;
|
||||||
pLongArr = new std::deque<long>();
|
pLongArr = new std::deque<long>;
|
||||||
aBoolArr.clear();
|
aBoolArr.clear();
|
||||||
bInner = false;
|
bInner = false;
|
||||||
Calc( *pPoly ); // Note that this updates pLongArr, which is why we swapped it out earlier.
|
Calc( *pPoly ); // Note that this updates pLongArr, which is why we swapped it out earlier.
|
||||||
|
@@ -1149,7 +1149,7 @@ SvxRTFItemStackType::~SvxRTFItemStackType()
|
|||||||
void SvxRTFItemStackType::Add(std::unique_ptr<SvxRTFItemStackType> pIns)
|
void SvxRTFItemStackType::Add(std::unique_ptr<SvxRTFItemStackType> pIns)
|
||||||
{
|
{
|
||||||
if (!m_pChildList)
|
if (!m_pChildList)
|
||||||
m_pChildList = new SvxRTFItemStackList();
|
m_pChildList = new SvxRTFItemStackList;
|
||||||
m_pChildList->push_back(std::move(pIns));
|
m_pChildList->push_back(std::move(pIns));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -536,7 +536,7 @@ sal_Int16 SvxUnoNumberingRules::Compare( const Any& Any1, const Any& Any2 )
|
|||||||
|
|
||||||
Reference< XAnyCompare > SvxCreateNumRuleCompare() throw()
|
Reference< XAnyCompare > SvxCreateNumRuleCompare() throw()
|
||||||
{
|
{
|
||||||
return new SvxUnoNumberingRulesCompare();
|
return new SvxUnoNumberingRulesCompare;
|
||||||
}
|
}
|
||||||
|
|
||||||
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule() throw()
|
css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule() throw()
|
||||||
|
@@ -2322,7 +2322,7 @@ SvxDummyTextSource::~SvxDummyTextSource()
|
|||||||
|
|
||||||
SvxEditSource* SvxDummyTextSource::Clone() const
|
SvxEditSource* SvxDummyTextSource::Clone() const
|
||||||
{
|
{
|
||||||
return new SvxDummyTextSource();
|
return new SvxDummyTextSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
SvxTextForwarder* SvxDummyTextSource::GetTextForwarder()
|
SvxTextForwarder* SvxDummyTextSource::GetTextForwarder()
|
||||||
|
Reference in New Issue
Block a user