diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-07-31 08:04:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-07-31 19:36:15 +0200 |
commit | bf570139782418b0276ffd81669c8e1cdd3acbd5 (patch) | |
tree | ff09ed744effa2b8666ff92840095781e123b994 /svx | |
parent | ccc31ed4d96bada134d08046f22f64c095a29041 (diff) |
svx: prefix members of E3dVolumeMarker, ImpEdgeHdl, NameOrIndex and ...
... SdrObjUserData
See tdf#94879 for motivation.
Change-Id: I4d330b0f8e08a3bdfc2c256c2ee86ac584947fc0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155080
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 12 | ||||
-rw-r--r-- | svx/source/svdraw/svdobj.cxx | 8 | ||||
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 379b3ed3f73e..de6ffcd8175f 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -1553,7 +1553,7 @@ void SdrHdlBezWgt::CreateB2dIAObject() E3dVolumeMarker::E3dVolumeMarker(const basegfx::B2DPolyPolygon& rWireframePoly) { - aWireframePoly = rWireframePoly; + m_aWireframePoly = rWireframePoly; } void E3dVolumeMarker::CreateB2dIAObject() @@ -1579,11 +1579,11 @@ void E3dVolumeMarker::CreateB2dIAObject() if(rPageWindow.GetPaintWindow().OutputToWindow()) { const rtl::Reference< sdr::overlay::OverlayManager >& xManager = rPageWindow.GetOverlayManager(); - if (xManager.is() && aWireframePoly.count()) + if (xManager.is() && m_aWireframePoly.count()) { std::unique_ptr<sdr::overlay::OverlayObject> pNewOverlayObject(new sdr::overlay::OverlayPolyPolygonStripedAndFilled( - aWireframePoly)); + m_aWireframePoly)); pNewOverlayObject->setBaseColor(COL_BLACK); @@ -1669,10 +1669,10 @@ void ImpEdgeHdl::CreateB2dIAObject() void ImpEdgeHdl::SetLineCode(SdrEdgeLineCode eCode) { - if(eLineCode != eCode) + if(m_eLineCode != eCode) { // remember new value - eLineCode = eCode; + m_eLineCode = eCode; // create new display Touch(); @@ -1705,7 +1705,7 @@ bool ImpEdgeHdl::IsHorzDrag() const const SdrEdgeInfoRec& rInfo=pEdge->aEdgeInfo; if (eEdgeKind==SdrEdgeKind::OrthoLines || eEdgeKind==SdrEdgeKind::Bezier) { - return !rInfo.ImpIsHorzLine(eLineCode,*pEdge->pEdgeTrack); + return !rInfo.ImpIsHorzLine(m_eLineCode,*pEdge->pEdgeTrack); } else if (eEdgeKind==SdrEdgeKind::ThreeLines) { diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 5c7789ee7ed0..dc9e36a008ce 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -148,12 +148,12 @@ SdrObjMacroHitRec::SdrObjMacroHitRec() : SdrObjUserData::SdrObjUserData(SdrInventor nInv, sal_uInt16 nId) : - nInventor(nInv), - nIdentifier(nId) {} + m_nInventor(nInv), + m_nIdentifier(nId) {} SdrObjUserData::SdrObjUserData(const SdrObjUserData& rData) : - nInventor(rData.nInventor), - nIdentifier(rData.nIdentifier) {} + m_nInventor(rData.m_nInventor), + m_nIdentifier(rData.m_nIdentifier) {} SdrObjUserData::~SdrObjUserData() {} diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 1550b8ac02a1..e9e8f3b1a706 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -98,26 +98,26 @@ typedef std::map<OUString, OUString> StringMap; NameOrIndex::NameOrIndex(TypedWhichId<NameOrIndex> _nWhich, sal_Int32 nIndex) : SfxStringItem(_nWhich, OUString()), - nPalIndex(nIndex) + m_nPalIndex(nIndex) { } NameOrIndex::NameOrIndex(TypedWhichId<NameOrIndex> _nWhich, const OUString& rName) : SfxStringItem(_nWhich, rName), - nPalIndex(-1) + m_nPalIndex(-1) { } NameOrIndex::NameOrIndex(const NameOrIndex& rNameOrIndex) : SfxStringItem(rNameOrIndex), - nPalIndex(rNameOrIndex.nPalIndex) + m_nPalIndex(rNameOrIndex.m_nPalIndex) { } bool NameOrIndex::operator==(const SfxPoolItem& rItem) const { return ( SfxStringItem::operator==(rItem) && - static_cast<const NameOrIndex&>(rItem).nPalIndex == nPalIndex ); + static_cast<const NameOrIndex&>(rItem).m_nPalIndex == m_nPalIndex ); } NameOrIndex* NameOrIndex::Clone(SfxItemPool* /*pPool*/) const @@ -256,7 +256,7 @@ void NameOrIndex::dumpAsXml(xmlTextWriterPtr pWriter) const (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("isIndex"), BAD_CAST(OString::boolean(IsIndex()).getStr())); (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr())); - (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("index"), BAD_CAST(OString::number(nPalIndex).getStr())); + (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("index"), BAD_CAST(OString::number(m_nPalIndex).getStr())); (void)xmlTextWriterEndElement(pWriter); } |