summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/mediashape.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 12:18:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-12 16:06:44 +0100
commit96ccb9f0689ce9740cf3c0a76a3a1e2c07f53b77 (patch)
tree52a271d806421112f6707d4fbccc219978c7ffde /slideshow/source/engine/shapes/mediashape.cxx
parent8dd533aa2c71e80f50a292b07660fb5021716f38 (diff)
loplugin:reftotemp in slideshow
Change-Id: If01cb31a8dd9a81d62bb7100731d28d33591f76a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176475 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'slideshow/source/engine/shapes/mediashape.cxx')
-rw-r--r--slideshow/source/engine/shapes/mediashape.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/shapes/mediashape.cxx b/slideshow/source/engine/shapes/mediashape.cxx
index d45dc7ec7b03..5a22682e63f4 100644
--- a/slideshow/source/engine/shapes/mediashape.cxx
+++ b/slideshow/source/engine/shapes/mediashape.cxx
@@ -106,20 +106,20 @@ namespace slideshow::internal
void MediaShape::implViewChanged( const UnoViewSharedPtr& rView )
{
- const ::basegfx::B2DRectangle& rBounds = getBounds();
+ const ::basegfx::B2DRectangle aBounds = getBounds();
// determine ViewMediaShape that needs update
for( const auto& pViewMediaShape : maViewMediaShapes )
if( pViewMediaShape->getViewLayer()->isOnView( rView ) )
- pViewMediaShape->resize( rBounds );
+ pViewMediaShape->resize( aBounds );
}
void MediaShape::implViewsChanged()
{
- const ::basegfx::B2DRectangle& rBounds = getBounds();
+ const ::basegfx::B2DRectangle aBounds = getBounds();
// resize all ViewShapes
for( const auto& pViewMediaShape : maViewMediaShapes )
- pViewMediaShape->resize( rBounds );
+ pViewMediaShape->resize( aBounds );
}