summaryrefslogtreecommitdiff
path: root/filter/source/flash/swfexporter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 11:27:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 08:45:17 +0200
commit98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 (patch)
treef3aae749f01d0453a227b922a6ad3217171700d7 /filter/source/flash/swfexporter.cxx
parent666901bc82fab69f9a80b564f97b5456d0ef684e (diff)
loplugin:unusedfields improve write-only analysis
by whitelisting a couple of methods we know only write to their parameters Change-Id: Id7aef9c03c23d10c27707b21eb9a0db4a6c2757c Reviewed-on: https://gerrit.libreoffice.org/37647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/flash/swfexporter.cxx')
-rw-r--r--filter/source/flash/swfexporter.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 34d7d10bb9f9..3ec5942e0372 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -577,22 +577,6 @@ void FlashExporter::exportShape( const Reference< XShape >& xShape, bool bMaster
pShapeInfo->mnWidth = aBoundRect.Width;
pShapeInfo->mnHeight = aBoundRect.Height;
- if( mbPresentation )
- {
- xPropSet->getPropertyValue( "Bookmark" ) >>= pShapeInfo->maBookmark;
- xPropSet->getPropertyValue( "DimColor" ) >>= pShapeInfo->mnDimColor;
- xPropSet->getPropertyValue( "DimHide" ) >>= pShapeInfo->mbDimHide;
- xPropSet->getPropertyValue( "DimPrevious" ) >>= pShapeInfo->mbDimPrev;
- xPropSet->getPropertyValue( "Effect" ) >>= pShapeInfo->meEffect;
- xPropSet->getPropertyValue( "PlayFull" ) >>= pShapeInfo->mbPlayFull;
- xPropSet->getPropertyValue( "PresentationOrder" ) >>= pShapeInfo->mnPresOrder;
- xPropSet->getPropertyValue( "Sound" ) >>= pShapeInfo->maSoundURL;
- xPropSet->getPropertyValue( "SoundOn" ) >>= pShapeInfo->mbSoundOn;
- xPropSet->getPropertyValue( "Speed" ) >>= pShapeInfo->meEffectSpeed;
- xPropSet->getPropertyValue( "TextEffect" ) >>= pShapeInfo->meTextEffect;
- xPropSet->getPropertyValue( "TransparentColor" ) >>= pShapeInfo->mnBlueScreenColor;
- }
-
GDIMetaFile aMtf;
Reference< XComponent > xComponent( xShape, UNO_QUERY );