diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-14 11:27:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-14 16:22:45 +0100 |
commit | e9e9d7d1f8f16c4e97b387bf7c2edd42d8219159 (patch) | |
tree | 92020bdf8cc5eb0db42d83a6c2b0116692526b70 /include/vcl/floatwin.hxx | |
parent | c1625e807ff7d94d0598b2aa86735fb94b829288 (diff) |
add a way to undo ImplConvertToAbsPos
Change-Id: Ia739c93c91f512c570d38a385d36bcce76e6fdcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107684
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/floatwin.hxx')
-rw-r--r-- | include/vcl/floatwin.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 91a6ae3c8c0e..ef3c38c6bd72 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -117,6 +117,7 @@ public: sal_uInt16& rArrangeIndex, Point* pLOKTwipsPos = nullptr); static Point ImplConvertToAbsPos(vcl::Window* pReference, const Point& rPos); static tools::Rectangle ImplConvertToAbsPos(vcl::Window* pReference, const tools::Rectangle& rRect); + static tools::Rectangle ImplConvertToRelPos(vcl::Window* pReference, const tools::Rectangle& rRect); SAL_DLLPRIVATE void ImplEndPopupMode( FloatWinPopupEndFlags nFlags, const VclPtr<vcl::Window>& xFocusId ); SAL_DLLPRIVATE tools::Rectangle& ImplGetItemEdgeClipRect(); SAL_DLLPRIVATE bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; } |