summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2025-01-06 08:07:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2025-01-06 09:11:10 +0100
commit145e62541762b2fb16d41e07aacc52081f782754 (patch)
tree568d136c321ead58aa2980717b716c0bb0dd1bfb
parent4288deb11c1def3657bb06549d5adfbfabe60bcb (diff)
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 <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--include/svx/unoshape.hxx2
-rw-r--r--svx/source/unodraw/unoshap4.cxx4
2 files changed, 3 insertions, 3 deletions
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