From be145cb8b6f60805ddc8674aa6557be7e79c227f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 17 Feb 2025 08:12:24 +0100 Subject: svx: prefix members of GalleryPreview See tdf#94879 for motivation. Change-Id: I5b2f371541851adb3a423573567b33f207c4ab3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181760 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- svx/source/gallery2/galctrl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'svx') diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index a6b916beb472..b3927010edac 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -114,15 +114,15 @@ void GalleryPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rect rRenderContext.SetBackground(Wallpaper(GALLERY_BG_COLOR)); rRenderContext.Erase(); - if (ImplGetGraphicCenterRect(aGraphicObj.GetGraphic(), aPreviewRect)) + if (ImplGetGraphicCenterRect(m_aGraphicObj.GetGraphic(), m_aPreviewRect)) { - const Point aPos( aPreviewRect.TopLeft() ); - const Size aSize( aPreviewRect.GetSize() ); + const Point aPos( m_aPreviewRect.TopLeft() ); + const Size aSize( m_aPreviewRect.GetSize() ); - if( aGraphicObj.IsAnimated() ) - aGraphicObj.StartAnimation(rRenderContext, aPos, aSize); + if( m_aGraphicObj.IsAnimated() ) + m_aGraphicObj.StartAnimation(rRenderContext, aPos, aSize); else - aGraphicObj.Draw(rRenderContext, aPos, aSize); + m_aGraphicObj.Draw(rRenderContext, aPos, aSize); } } -- cgit