diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-01-15 21:47:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-01-16 12:23:29 +0100 |
commit | dab0d4e1f36faace21145a51733bd3a946992624 (patch) | |
tree | b9355e33b4b53dfa2ebe8318c15a8d3b28820beb /include/vcl/vcllayout.hxx | |
parent | dd497f18e5a5aaa5d1116e87b12ea23d619088e2 (diff) |
tdf#146439 retain precise base start pos when using ResolutionIndependentLayout
Change-Id: I16a585abf4805d87a2eeb4e3e9d9bd9f2697b838
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128472
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/vcllayout.hxx')
-rw-r--r-- | include/vcl/vcllayout.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/vcllayout.hxx b/include/vcl/vcllayout.hxx index 957d18cebd95..b766a0b4ccd6 100644 --- a/include/vcl/vcllayout.hxx +++ b/include/vcl/vcllayout.hxx @@ -68,8 +68,8 @@ class VCL_DLLPUBLIC SalLayout public: virtual ~SalLayout(); // used by upper layers - Point& DrawBase() { return maDrawBase; } - const Point& DrawBase() const { return maDrawBase; } + DevicePoint& DrawBase() { return maDrawBase; } + const DevicePoint& DrawBase() const { return maDrawBase; } Point& DrawOffset() { return maDrawOffset; } const Point& DrawOffset() const { return maDrawOffset; } DevicePoint GetDrawPosition( const DevicePoint& rRelative = DevicePoint(0,0) ) const; @@ -114,7 +114,7 @@ protected: Degree10 mnOrientation; mutable Point maDrawOffset; - Point maDrawBase; + DevicePoint maDrawBase; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |