summaryrefslogtreecommitdiff
path: root/sd/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:53:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 21:04:23 +0100
commit34f333445c54c87f3afe777fa467f7a2bb122208 (patch)
tree542b1f2344c9da43ca33da8afec890acc01e712e /sd/source/filter
parentb4f38d8b788018b3f88421d72bb82ad3bdeef9e2 (diff)
loplugin:indentation in sd
Change-Id: I8ce307b8c467ac1e3f19faca1df15a079bc14169 Reviewed-on: https://gerrit.libreoffice.org/67563 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/filter')
-rw-r--r--sd/source/filter/eppt/eppt.cxx4
-rw-r--r--sd/source/filter/eppt/epptso.cxx4
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx14
-rw-r--r--sd/source/filter/eppt/pptx-epptbase.cxx4
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx2
5 files changed, 14 insertions, 14 deletions
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<sal_Int32>(nAPIPresetClass)) || !rPreset.equalsAscii( p->mpStrPresetId )) )
- p++;
+ while( p->mpStrPresetId && ((p->mnPresetClass != static_cast<sal_Int32>(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 );
}
}