diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-09-11 23:45:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-09-12 07:43:40 +0200 |
commit | 01d7bd4f08cf05dd44b1239287451c52a965e343 (patch) | |
tree | 5ad484f52d9e538102ffa2541366ec66b2b6a509 /include | |
parent | f5bcc34580d02f92af01963155f2d54776a5249b (diff) |
svx: prefix members of SdrObjConnection
+ modify GetObject() into GetSdrObject()
+ modify pObj into m_pSdrObj
The goal was to be a little bit more specific since they concern a class and not a local function.
Change-Id: I1b3f19a16a452f22af82da22e33cd2f1522e1a7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156832
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdoedge.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index faa8c67b1e65..4da2219b3645 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -42,14 +42,14 @@ class SdrObjConnection final friend class ImpEdgeHdl; friend class SdrCreateView; - Point aObjOfs; // set during dragging of a node - SdrObject* pObj; // referenced object - sal_uInt16 nConId; // connector number + Point m_aObjOfs; // set during dragging of a node + SdrObject* m_pSdrObj; // referenced object + sal_uInt16 m_nConId; // connector number - bool bBestConn : 1; // true -> the best-matching connector is searched for - bool bBestVertex : 1; // true -> the best-matching vertex to connect is searched for - bool bAutoVertex : 1; // autoConnector at apex nCon - bool bAutoCorner : 1; // autoConnector at corner nCon + bool m_bBestConn : 1; // true -> the best-matching connector is searched for + bool m_bBestVertex : 1; // true -> the best-matching vertex to connect is searched for + bool m_bAutoVertex : 1; // autoConnector at apex nCon + bool m_bAutoCorner : 1; // autoConnector at corner nCon public: SdrObjConnection() { ResetVars(); } @@ -57,15 +57,15 @@ public: void ResetVars(); bool TakeGluePoint(SdrGluePoint& rGP) const; - void SetBestConnection( bool rB ) { bBestConn = rB; }; - void SetBestVertex( bool rB ) { bBestVertex = rB; }; - void SetAutoVertex( bool rB ) { bAutoVertex = rB; }; - void SetConnectorId( sal_uInt16 nId ) { nConId = nId; }; + void SetBestConnection( bool rB ) { m_bBestConn = rB; }; + void SetBestVertex( bool rB ) { m_bBestVertex = rB; }; + void SetAutoVertex( bool rB ) { m_bAutoVertex = rB; }; + void SetConnectorId( sal_uInt16 nId ) { m_nConId = nId; }; - bool IsBestConnection() const { return bBestConn; }; - bool IsAutoVertex() const { return bAutoVertex; }; - sal_uInt16 GetConnectorId() const { return nConId; }; - SdrObject* GetObject() const { return pObj; } + bool IsBestConnection() const { return m_bBestConn; }; + bool IsAutoVertex() const { return m_bAutoVertex; }; + sal_uInt16 GetConnectorId() const { return m_nConId; }; + SdrObject* GetSdrObject() const { return m_pSdrObj; } }; |