include/svx/unoshape.hxx        |    2 +-
 svx/source/unodraw/unoshap4.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 145e62541762b2fb16d41e07aacc52081f782754
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Jan 6 08:07:14 2025 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Mon Jan 6 09:11:10 2025 +0100

    svx: prefix members of SvxMediaShape
    
    See tdf#94879 for motivation.
    
    No problem with _ suffixes, but parent SvxShape uses m_ prefixes, so
    switch to that here as well for consistency.
    
    Change-Id: I938598829924ba5bb7ee22e16a1337e354c3411e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179816
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 15494ab4c8a4..cbf4936dc4c1 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -847,7 +847,7 @@ private:
     bool getPropertyStateImpl(const SfxItemPropertyMapEntry* pProperty,
                               css::beans::PropertyState& rState) override;
 
-    OUString referer_;
+    OUString m_referer;
 };
 
 #endif
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 54ba90c804eb..a7e41c0c80b1 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -789,7 +789,7 @@ bool SvxFrameShape::getPropertyValueImpl(const OUString& 
rName, const SfxItemPro
 
 SvxMediaShape::SvxMediaShape(SdrObject* pObj, OUString referer)
 :   SvxShape( pObj, getSvxMapProvider().GetMap(SVXMAP_MEDIA), 
getSvxMapProvider().GetPropertySet(SVXMAP_MEDIA, 
SdrObject::GetGlobalDrawObjectItemPool()) ),
-    referer_(std::move(referer))
+    m_referer(std::move(referer))
 {
     SetShapeType( u"com.sun.star.drawing.MediaShape"_ustr );
 }
@@ -835,7 +835,7 @@ bool SvxMediaShape::setPropertyValueImpl( const OUString& 
rName, const SfxItemPr
                         aItem.setFallbackURL(aFallbackURL);
                     }
                 }
-                aItem.setURL( aURL, u""_ustr, referer_ );
+                aItem.setURL( aURL, u""_ustr, m_referer );
             }
         }
 #endif

Reply via email to