Some cppcheck cleaning
This commit is contained in:
@@ -591,7 +591,7 @@ sal_uInt32 ActivityImpl::ImpRegisterAgainScrollTextMixerState(sal_uInt32 nTime)
|
|||||||
sal_uInt32 nRetval(0L);
|
sal_uInt32 nRetval(0L);
|
||||||
ImpForceScrollTextAnimNodes();
|
ImpForceScrollTextAnimNodes();
|
||||||
|
|
||||||
if(maVector.size())
|
if(!maVector.empty())
|
||||||
{
|
{
|
||||||
sal_uInt32 nRelativeTime;
|
sal_uInt32 nRelativeTime;
|
||||||
ScrollTextAnimNode* pNode = ImpGetScrollTextAnimNode(nTime, nRelativeTime);
|
ScrollTextAnimNode* pNode = ImpGetScrollTextAnimNode(nTime, nRelativeTime);
|
||||||
|
@@ -702,7 +702,7 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence<Any>&
|
|||||||
catch( CannotConvertException& rExc )
|
catch( CannotConvertException& rExc )
|
||||||
{
|
{
|
||||||
rExc.ArgumentIndex = nPos; // optionalen Parameter Index hinzufuegen
|
rExc.ArgumentIndex = nPos; // optionalen Parameter Index hinzufuegen
|
||||||
throw rExc;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -387,7 +387,7 @@ long BorderWidthImpl::GuessWidth( long nLine1, long nLine2, long nGap )
|
|||||||
bInvalid = true;
|
bInvalid = true;
|
||||||
|
|
||||||
double nWidth = 0.0;
|
double nWidth = 0.0;
|
||||||
if ( !bInvalid && aToCompare.size() > 0 )
|
if ( (!bInvalid) && (!aToCompare.empty()) )
|
||||||
{
|
{
|
||||||
nWidth = *aToCompare.begin();
|
nWidth = *aToCompare.begin();
|
||||||
std::vector< double >::iterator pIt = aToCompare.begin();
|
std::vector< double >::iterator pIt = aToCompare.begin();
|
||||||
|
@@ -237,7 +237,7 @@ SVX_DLLPUBLIC void getAllHit3DObjectsSortedFrontToBack(
|
|||||||
// copy SdrObject pointers to return result set
|
// copy SdrObject pointers to return result set
|
||||||
::std::vector< ImplPairDephAndObject >::iterator aIterator2(aDepthAndObjectResults.begin());
|
::std::vector< ImplPairDephAndObject >::iterator aIterator2(aDepthAndObjectResults.begin());
|
||||||
|
|
||||||
for(;aIterator2 != aDepthAndObjectResults.end(); aIterator2++)
|
for(;aIterator2 != aDepthAndObjectResults.end(); ++aIterator2)
|
||||||
{
|
{
|
||||||
o_rResult.push_back(aIterator2->getObject());
|
o_rResult.push_back(aIterator2->getObject());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user