summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-25 09:59:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-26 10:55:58 +0000
commite8fd5a07eca70912ddee45aaa34d434809b59fb7 (patch)
treed5dc890d12987cad73f5e64301f823ba23a97f2d /slideshow
parente6adb3e8b4de3c0f78d249b83de19b849ef65b59 (diff)
update loplugin stylepolice to check local pointers vars
are actually pointer vars. Also convert from regex to normal code, so we can enable this plugin all the time. Change-Id: Ie36a25ecba61c18f99c77c77646d6459a443cbd1 Reviewed-on: https://gerrit.libreoffice.org/24391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.cxx4
-rw-r--r--slideshow/source/engine/transitions/slidechangebase.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
index 3c3e1d7881c5..588f6cc47613 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
@@ -394,8 +394,8 @@ namespace slideshow
// the whole shape set
// determine new subset range
- for( const auto& pShape : maSubsetShapes )
- updateSubsetBounds( pShape );
+ for( const auto& rSubsetShape : maSubsetShapes )
+ updateSubsetBounds( rSubsetShape );
updateSubsets();
diff --git a/slideshow/source/engine/transitions/slidechangebase.cxx b/slideshow/source/engine/transitions/slidechangebase.cxx
index a13dd27be25f..cdc1d22134c8 100644
--- a/slideshow/source/engine/transitions/slidechangebase.cxx
+++ b/slideshow/source/engine/transitions/slidechangebase.cxx
@@ -446,12 +446,12 @@ void SlideChangeBase::viewsChanged()
if( mbFinished )
return;
- for( auto& pView : maViewData )
+ for( auto& rView : maViewData )
{
// clear stale info (both bitmaps and sprites prolly need a
// resize)
- clearViewEntry( pView );
- addSprites( pView );
+ clearViewEntry( rView );
+ addSprites( rView );
}
}