include/svx/galctrl.hxx         |    6 +++---
 svx/source/gallery2/galctrl.cxx |   12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit fb8bf5f209e1bd7fd7d8ad555ec66dbf31649ee8
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Feb 11 08:08:50 2025 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Feb 11 09:11:33 2025 +0100

    svx: prefix members of DialogGalleryPreview
    
    See tdf#94879 for motivation.
    
    Change-Id: I2ddf9dfcd65ae44852fc17d97d634c5382d296b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181400
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/include/svx/galctrl.hxx b/include/svx/galctrl.hxx
index 4e35d5aaae3d..43e3b3673bea 100644
--- a/include/svx/galctrl.hxx
+++ b/include/svx/galctrl.hxx
@@ -69,8 +69,8 @@ public:
 class SVXCORE_DLLPUBLIC DialogGalleryPreview final : public 
weld::CustomWidgetController
 {
 private:
-    GraphicObject aGraphicObj;
-    tools::Rectangle aPreviewRect;
+    GraphicObject maGraphicObj;
+    tools::Rectangle maPreviewRect;
 
     SVX_DLLPRIVATE bool             ImplGetGraphicCenterRect( const Graphic& 
rGraphic, tools::Rectangle& rResultRect ) const;
 
@@ -81,7 +81,7 @@ public:
     DialogGalleryPreview();
 
     virtual void        SetDrawingArea(weld::DrawingArea* pDrawingArea) 
override;
-    void                SetGraphic( const Graphic& rGraphic ) { 
aGraphicObj.SetGraphic( rGraphic ); }
+    void                SetGraphic( const Graphic& rGraphic ) { 
maGraphicObj.SetGraphic( rGraphic ); }
     bool                SetGraphic( const INetURLObject& );
 };
 
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 4e33db6d8267..a6b916beb472 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -258,15 +258,15 @@ void DialogGalleryPreview::Paint(vcl::RenderContext& 
rRenderContext, const tools
 {
     rRenderContext.SetBackground(Wallpaper(GALLERY_BG_COLOR));
 
-    if (ImplGetGraphicCenterRect(aGraphicObj.GetGraphic(), aPreviewRect))
+    if (ImplGetGraphicCenterRect(maGraphicObj.GetGraphic(), maPreviewRect))
     {
-        const Point aPos( aPreviewRect.TopLeft() );
-        const Size  aSize( aPreviewRect.GetSize() );
+        const Point aPos( maPreviewRect.TopLeft() );
+        const Size  aSize( maPreviewRect.GetSize() );
 
-        if( aGraphicObj.IsAnimated() )
-            aGraphicObj.StartAnimation(rRenderContext, aPos, aSize);
+        if( maGraphicObj.IsAnimated() )
+            maGraphicObj.StartAnimation(rRenderContext, aPos, aSize);
         else
-            aGraphicObj.Draw(rRenderContext, aPos, aSize);
+            maGraphicObj.Draw(rRenderContext, aPos, aSize);
     }
 }
 

Reply via email to