summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-09-16 13:33:09 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-01-29 14:23:40 +0000
commit0119d00daa9713ada2b92e38adeb083c0bdcba64 (patch)
tree6f85961fbbf5acdbea80efb930f7736237968b7e /include/svx
parente2d646665c4cb4c7eeb0a73cb5f460838589bef0 (diff)
svx: add prefix m to aPgOrg and rename to aPageOrigin
Change-Id: I1df0c61aca724748680017472cde64832742eb97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146304 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdpagv.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx
index 2f77dfa6692a..777ca7d9b1b2 100644
--- a/include/svx/svdpagv.hxx
+++ b/include/svx/svdpagv.hxx
@@ -57,7 +57,7 @@ class SVXCORE_DLLPUBLIC SdrPageView
private:
SdrView& mrView;
SdrPage* mpPage;
- Point aPgOrg; // The Page's point of origin
+ Point maPageOrigin; // The Page's point of origin
tools::Rectangle aMarkBound;
tools::Rectangle aMarkSnap;
@@ -199,12 +199,12 @@ public:
bool IsReadOnly() const;
/// The Origin always refers to the upper left corner of the Page
- const Point& GetPageOrigin() const { return aPgOrg; }
+ const Point& GetPageOrigin() const { return maPageOrigin; }
void SetPageOrigin(const Point& rOrg);
- void LogicToPagePos(Point& rPnt) const { rPnt-=aPgOrg; }
- void LogicToPagePos(tools::Rectangle& rRect) const { rRect.Move(-aPgOrg.X(),-aPgOrg.Y()); }
- void PagePosToLogic(Point& rPnt) const { rPnt+=aPgOrg; }
+ void LogicToPagePos(Point& rPnt) const { rPnt-=maPageOrigin; }
+ 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; }