diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index cbf4936dc4c1..a8670722d5ce 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -587,7 +587,7 @@ public: class UNLESS_MERGELIBS_MORE(SVXCORE_DLLPUBLIC) SvxOle2Shape : public SvxShapeText { private: - OUString referer_; + OUString m_referer; protected: // override these for special property handling in subcasses. Return true if property is handled virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override; diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index a7e41c0c80b1..7ef5d9b0007a 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -67,13 +67,13 @@ using namespace ::com::sun::star::beans; SvxOle2Shape::SvxOle2Shape(SdrObject* pObject, OUString referer) : SvxShapeText(pObject, getSvxMapProvider().GetMap(SVXMAP_OLE2), getSvxMapProvider().GetPropertySet(SVXMAP_OLE2,SdrObject::GetGlobalDrawObjectItemPool())) - , referer_(std::move(referer)) + , m_referer(std::move(referer)) { } SvxOle2Shape::SvxOle2Shape(SdrObject* pObject, OUString referer, std::span pPropertyMap, const SvxItemPropertySet* pPropertySet) : SvxShapeText(pObject, pPropertyMap, pPropertySet) - , referer_(std::move(referer)) + , m_referer(std::move(referer)) { } @@ -452,7 +452,7 @@ void SvxOle2Shape::createLink( const OUString& aLinkURL ) uno::Sequence< beans::PropertyValue > aMediaDescr{ comphelper::makePropertyValue(u"URL"_ustr, aLinkURL), - comphelper::makePropertyValue(u"Referer"_ustr, referer_) + comphelper::makePropertyValue(u"Referer"_ustr, m_referer) }; uno::Reference< task::XInteractionHandler > xInteraction = pPersist->getInteractionHandler();