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 /include/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 'include/svx')
-rw-r--r-- | include/svx/svdhdl.hxx | 8 | ||||
-rw-r--r-- | include/svx/svdobj.hxx | 8 | ||||
-rw-r--r-- | include/svx/xit.hxx | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx index 606dd8d5afa7..61c0100ad144 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -372,7 +372,7 @@ private: class E3dVolumeMarker final : public SdrHdl { - basegfx::B2DPolyPolygon aWireframePoly; + basegfx::B2DPolyPolygon m_aWireframePoly; // create marker for this kind virtual void CreateB2dIAObject() override; @@ -384,17 +384,17 @@ public: class ImpEdgeHdl final : public SdrHdl { - SdrEdgeLineCode eLineCode; + SdrEdgeLineCode m_eLineCode; // create marker for this kind virtual void CreateB2dIAObject() override; public: - ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),eLineCode(SdrEdgeLineCode::MiddleLine) {} + ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),m_eLineCode(SdrEdgeLineCode::MiddleLine) {} virtual ~ImpEdgeHdl() override; void SetLineCode(SdrEdgeLineCode eCode); - SdrEdgeLineCode GetLineCode() const { return eLineCode; } + SdrEdgeLineCode GetLineCode() const { return m_eLineCode; } bool IsHorzDrag() const; virtual PointerStyle GetPointer() const override; }; diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index ed62c1db983f..35f6a47bd6e2 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -150,8 +150,8 @@ public: */ class SVXCORE_DLLPUBLIC SdrObjUserData { - SdrInventor nInventor; - sal_uInt16 nIdentifier; + SdrInventor m_nInventor; + sal_uInt16 m_nIdentifier; void operator=(const SdrObjUserData& rData) = delete; bool operator==(const SdrObjUserData& rData) const = delete; @@ -163,8 +163,8 @@ public: virtual ~SdrObjUserData(); virtual std::unique_ptr<SdrObjUserData> Clone(SdrObject* pObj1) const = 0; // #i71039# NULL -> 0 - SdrInventor GetInventor() const { return nInventor;} - sal_uInt16 GetId() const { return nIdentifier;} + SdrInventor GetInventor() const { return m_nInventor;} + sal_uInt16 GetId() const { return m_nIdentifier;} }; /** diff --git a/include/svx/xit.hxx b/include/svx/xit.hxx index f6b19595a9f8..b51af17a4d4d 100644 --- a/include/svx/xit.hxx +++ b/include/svx/xit.hxx @@ -36,13 +36,13 @@ typedef bool (*SvxCompareValueFunc)( const NameOrIndex* p1, const NameOrIndex* p class SVXCORE_DLLPUBLIC NameOrIndex : public SfxStringItem { - sal_Int32 nPalIndex; + sal_Int32 m_nPalIndex; protected: - void Detach() { nPalIndex = -1; } + void Detach() { m_nPalIndex = -1; } public: - NameOrIndex() { nPalIndex = -1; } + NameOrIndex() { m_nPalIndex = -1; } NameOrIndex(TypedWhichId<NameOrIndex> nWhich, sal_Int32 nIndex); NameOrIndex(TypedWhichId<NameOrIndex> nWhich, const OUString& rName); NameOrIndex(const NameOrIndex& rNameOrIndex); @@ -52,8 +52,8 @@ public: OUString const & GetName() const { return GetValue(); } void SetName(const OUString& rName) { SetValue(rName); } - bool IsIndex() const { return (nPalIndex >= 0); } - sal_Int32 GetPalIndex() const { return nPalIndex; } + bool IsIndex() const { return (m_nPalIndex >= 0); } + sal_Int32 GetPalIndex() const { return m_nPalIndex; } /** this static checks if the given NameOrIndex item has a unique name for its value. The returned String is a unique name for an item with this value in both given pools. |