summaryrefslogtreecommitdiff
path: root/include/svx/svdpagv.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-09-09 08:00:44 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-09-09 09:33:31 +0200
commit7aece6a3399c0fe29a49e3d7218f98d5f0383e65 (patch)
tree25cfde9f2700276583909719372d02daa527a0c4 /include/svx/svdpagv.hxx
parent4768ee57da0f4e2004c1bc60b19cae49eafe0497 (diff)
svx: prefix members of SdrPageView
See tdf#94879 for motivation. Change-Id: Ia11aaae771deb99f72af86670318c3822c1d139f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173056 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/svx/svdpagv.hxx')
-rw-r--r--include/svx/svdpagv.hxx54
1 files changed, 27 insertions, 27 deletions
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx
index 58354a3d8d50..e52814bb08ae 100644
--- a/include/svx/svdpagv.hxx
+++ b/include/svx/svdpagv.hxx
@@ -59,19 +59,19 @@ private:
SdrPage* mpPage;
Point maPageOrigin; // The Page's point of origin
- tools::Rectangle aMarkBound;
- tools::Rectangle aMarkSnap;
+ tools::Rectangle m_aMarkBound;
+ tools::Rectangle m_aMarkSnap;
bool mbHasMarked;
bool mbVisible;
- SdrLayerIDSet aLayerVisi; // Set of visible Layers
- SdrLayerIDSet aLayerLock; // Set of non-editable Layers
- SdrLayerIDSet aLayerPrn; // Set of printable Layers
+ SdrLayerIDSet m_aLayerVisi; // Set of visible Layers
+ SdrLayerIDSet m_aLayerLock; // Set of non-editable Layers
+ SdrLayerIDSet m_aLayerPrn; // Set of printable Layers
- SdrObjList* pCurrentList; // Current List, usually the Page
- SdrObject* pCurrentGroup; // Current Group; nullptr means none
+ SdrObjList* m_pCurrentList; // Current List, usually the Page
+ SdrObject* m_pCurrentGroup; // Current Group; nullptr means none
- SdrHelpLineList aHelpLines; // Helper lines and points
+ SdrHelpLineList m_aHelpLines; // Helper lines and points
// #103911# Use one reserved slot (bReserveBool2) for the document color
Color maDocumentColor;
@@ -167,10 +167,10 @@ public:
SdrPage* GetPage() const { return mpPage; }
/// Return current List
- SdrObjList* GetObjList() const { return pCurrentList; }
+ SdrObjList* GetObjList() const { return m_pCurrentList; }
/// Return current Group
- SdrObject* GetCurrentGroup() const { return pCurrentGroup; }
+ SdrObject* GetCurrentGroup() const { return m_pCurrentGroup; }
/// Set current Group and List
void SetCurrentGroupAndList(SdrObject* pNewGroup, SdrObjList* pNewList);
@@ -178,26 +178,26 @@ public:
bool HasMarkedObjPageView() const { return mbHasMarked; }
void SetHasMarkedObj(bool bOn) { mbHasMarked = bOn; }
- const tools::Rectangle& MarkBound() const { return aMarkBound; }
- const tools::Rectangle& MarkSnap() const { return aMarkSnap; }
- tools::Rectangle& MarkBound() { return aMarkBound; }
- tools::Rectangle& MarkSnap() { return aMarkSnap; }
+ const tools::Rectangle& MarkBound() const { return m_aMarkBound; }
+ const tools::Rectangle& MarkSnap() const { return m_aMarkSnap; }
+ tools::Rectangle& MarkBound() { return m_aMarkBound; }
+ tools::Rectangle& MarkSnap() { return m_aMarkSnap; }
bool SetLayerVisible(const OUString& rName, bool bShow) {
- const bool bChanged = SetLayer(rName, aLayerVisi, bShow);
+ const bool bChanged = SetLayer(rName, m_aLayerVisi, bShow);
if (!bChanged)
return false;
if(!bShow) AdjHdl();
InvalidateAllWin();
return true;
}
- bool IsLayerVisible(const OUString& rName) const { return IsLayer(rName, aLayerVisi); }
+ bool IsLayerVisible(const OUString& rName) const { return IsLayer(rName, m_aLayerVisi); }
- void SetLayerLocked(const OUString& rName, bool bLock) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); }
- bool IsLayerLocked(const OUString& rName) const { return IsLayer(rName,aLayerLock); }
+ void SetLayerLocked(const OUString& rName, bool bLock) { SetLayer(rName, m_aLayerLock, bLock); if(bLock) AdjHdl(); }
+ bool IsLayerLocked(const OUString& rName) const { return IsLayer(rName,m_aLayerLock); }
- void SetLayerPrintable(const OUString& rName, bool bPrn) { SetLayer(rName, aLayerPrn, bPrn); }
- bool IsLayerPrintable(const OUString& rName) const { return IsLayer(rName, aLayerPrn); }
+ void SetLayerPrintable(const OUString& rName, bool bPrn) { SetLayer(rName, m_aLayerPrn, bPrn); }
+ bool IsLayerPrintable(const OUString& rName) const { return IsLayer(rName, m_aLayerPrn); }
/// PV represents a RefPage or a SubList of a RefObj, or the Model is ReadOnly
bool IsReadOnly() const;
@@ -210,14 +210,14 @@ public:
void LogicToPagePos(tools::Rectangle& rRect) const { rRect.Move(-maPageOrigin.X(),-maPageOrigin.Y()); }
void PagePosToLogic(Point& rPnt) const { rPnt+=maPageOrigin; }
- void SetVisibleLayers(const SdrLayerIDSet& rSet) { aLayerVisi=rSet; }
- const SdrLayerIDSet& GetVisibleLayers() const { return aLayerVisi; }
- void SetPrintableLayers(const SdrLayerIDSet& rSet) { aLayerPrn=rSet; }
- const SdrLayerIDSet& GetPrintableLayers() const { return aLayerPrn; }
- void SetLockedLayers(const SdrLayerIDSet& rSet) { aLayerLock=rSet; }
- const SdrLayerIDSet& GetLockedLayers() const { return aLayerLock; }
+ void SetVisibleLayers(const SdrLayerIDSet& rSet) { m_aLayerVisi=rSet; }
+ const SdrLayerIDSet& GetVisibleLayers() const { return m_aLayerVisi; }
+ void SetPrintableLayers(const SdrLayerIDSet& rSet) { m_aLayerPrn=rSet; }
+ const SdrLayerIDSet& GetPrintableLayers() const { return m_aLayerPrn; }
+ void SetLockedLayers(const SdrLayerIDSet& rSet) { m_aLayerLock=rSet; }
+ const SdrLayerIDSet& GetLockedLayers() const { return m_aLayerLock; }
- const SdrHelpLineList& GetHelpLines() const { return aHelpLines; }
+ const SdrHelpLineList& GetHelpLines() const { return m_aHelpLines; }
void SetHelpLines(const SdrHelpLineList& rHLL);
//void SetHelpLinePos(sal_uInt16 nNum, const Point& rNewPos);
void SetHelpLine(sal_uInt16 nNum, const SdrHelpLine& rNewHelpLine);