diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-01-08 08:27:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-01-08 17:56:39 +0100 |
commit | b2fe01ef6154aab63c33706be2739ce2540212c2 (patch) | |
tree | aa830dfb0861e82510efef857836e6406fe9e88e /include | |
parent | 3ad0f2317492f5a11ed9786e849f18a5fa817480 (diff) |
svx: prefix members of SdrHelpLine
See tdf#94879 for motivation.
Change-Id: I340040c28aaf64ad79c0d0433686a40b38e351c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161781
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdhlpln.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/svdhlpln.hxx b/include/svx/svdhlpln.hxx index aa850773c4e2..0eed874adf3a 100644 --- a/include/svx/svdhlpln.hxx +++ b/include/svx/svdhlpln.hxx @@ -36,19 +36,19 @@ enum class SdrHelpLineKind { Point, Vertical, Horizontal }; #define SDRHELPLINE_POINT_PIXELSIZE 15 /* actual size = PIXELSIZE*2+1 */ class SdrHelpLine { - Point aPos; // X or Y may be unimportant, depending on the value of eKind - SdrHelpLineKind eKind; + Point m_aPos; // X or Y may be unimportant, depending on the value of eKind + SdrHelpLineKind m_eKind; public: - explicit SdrHelpLine(SdrHelpLineKind eNewKind=SdrHelpLineKind::Point): eKind(eNewKind) {} - SdrHelpLine(SdrHelpLineKind eNewKind, const Point& rNewPos): aPos(rNewPos), eKind(eNewKind) {} - bool operator==(const SdrHelpLine& rCmp) const { return aPos==rCmp.aPos && eKind==rCmp.eKind; } + explicit SdrHelpLine(SdrHelpLineKind eNewKind=SdrHelpLineKind::Point): m_eKind(eNewKind) {} + SdrHelpLine(SdrHelpLineKind eNewKind, const Point& rNewPos): m_aPos(rNewPos), m_eKind(eNewKind) {} + bool operator==(const SdrHelpLine& rCmp) const { return m_aPos==rCmp.m_aPos && m_eKind==rCmp.m_eKind; } bool operator!=(const SdrHelpLine& rCmp) const { return !operator==(rCmp); } - void SetKind(SdrHelpLineKind eNewKind) { eKind=eNewKind; } - SdrHelpLineKind GetKind() const { return eKind; } - void SetPos(const Point& rPnt) { aPos=rPnt; } - const Point& GetPos() const { return aPos; } + void SetKind(SdrHelpLineKind eNewKind) { m_eKind=eNewKind; } + SdrHelpLineKind GetKind() const { return m_eKind; } + void SetPos(const Point& rPnt) { m_aPos=rPnt; } + const Point& GetPos() const { return m_aPos; } PointerStyle GetPointer() const; bool IsHit(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const; |