From 34f333445c54c87f3afe777fa467f7a2bb122208 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Feb 2019 13:53:56 +0200 Subject: loplugin:indentation in sd Change-Id: I8ce307b8c467ac1e3f19faca1df15a079bc14169 Reviewed-on: https://gerrit.libreoffice.org/67563 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/filter/eppt/eppt.cxx | 4 ++-- sd/source/filter/eppt/epptso.cxx | 4 ++-- sd/source/filter/eppt/pptexanimations.cxx | 14 +++++++------- sd/source/filter/eppt/pptx-epptbase.cxx | 4 ++-- sd/source/filter/ppt/pptinanimations.cxx | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'sd/source/filter') diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx index 7da772eb2ad2..24a0d6ba31bc 100644 --- a/sd/source/filter/eppt/eppt.cxx +++ b/sd/source/filter/eppt/eppt.cxx @@ -1329,8 +1329,8 @@ void PPTWriter::ImplWriteAtomEnding() mpStrm->WriteUInt32( 0 ).WriteUInt32( 0 ).WriteUInt32( 0 ); // skip record header and first entry // write document persist - nPersistEntrys++; - mpStrm->WriteUInt32( 0 ); + nPersistEntrys++; + mpStrm->WriteUInt32( 0 ); // write MasterPages persists for ( i = 0; i < mnMasterPages; i++ ) { diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index e6215a39e158..c6779e9417c0 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -637,9 +637,9 @@ bool PropStateValue::ImplGetPropertyValue( const OUString& rString, bool bGetPro ePropState = css::beans::PropertyState_AMBIGUOUS_VALUE; bool bRetValue = true; #ifdef UNX - css::uno::Reference< css::beans::XPropertySetInfo > + css::uno::Reference< css::beans::XPropertySetInfo > aXPropSetInfo( mXPropSet->getPropertySetInfo() ); - if ( !aXPropSetInfo.is() ) + if ( !aXPropSetInfo.is() ) return false; #endif try diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 59b9d2bca504..d1049bd8256f 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -915,14 +915,14 @@ sal_uInt32 AnimationExporter::GetPresetID( const OUString& rPreset, sal_uInt32 n else { const oox::ppt::preset_mapping* p = oox::ppt::preset_mapping::getList(); - while( p->mpStrPresetId && ((p->mnPresetClass != static_cast(nAPIPresetClass)) || !rPreset.equalsAscii( p->mpStrPresetId )) ) - p++; + while( p->mpStrPresetId && ((p->mnPresetClass != static_cast(nAPIPresetClass)) || !rPreset.equalsAscii( p->mpStrPresetId )) ) + p++; - if( p->mpStrPresetId ) - { - nPresetId = p->mnPresetId; - bPresetId = true; - } + if( p->mpStrPresetId ) + { + nPresetId = p->mnPresetId; + bPresetId = true; + } } return nPresetId; diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx index 178ae1f8c41c..e63c90884e7e 100644 --- a/sd/source/filter/eppt/pptx-epptbase.cxx +++ b/sd/source/filter/eppt/pptx-epptbase.cxx @@ -1014,9 +1014,9 @@ bool PPTWriterBase::ContainsOtherShapeThanPlaceholders() } else bOtherThanPlaceHolders = true; + } + SAL_INFO("sd.eppt", "mType == " << mType); } - SAL_INFO("sd.eppt", "mType == " << mType); - } return bOtherThanPlaceHolders; } diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index b8e24a39f9d8..f5d95d9e5079 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -2564,7 +2564,7 @@ void AnimationImporter::importTargetElementContainer( const Atom* pAtom, Any& rT break; } - pChildAtom = Atom::findNextChildAtom( pChildAtom ); + pChildAtom = Atom::findNextChildAtom( pChildAtom ); } } -- cgit