diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-27 11:26:43 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2018-05-21 15:08:12 +0200 |
commit | 6ede92ec3998c2d3122b32546137d1790fee70ad (patch) | |
tree | 2b3df6990706f70ab5e3e85d0b9338c660b88ca4 /include/vcl/floatwin.hxx | |
parent | 423f4ac936e8a3991e9e3f16c6f3f7c3c5d44e71 (diff) |
lokdialog: For the tunneled top-level popups, provide the position in twips.
Change-Id: I7b1ca50b06c3bdf0958bb88946873c6ddf717b0e
Reviewed-on: https://gerrit.libreoffice.org/51952
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/54628
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'include/vcl/floatwin.hxx')
-rw-r--r-- | include/vcl/floatwin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 62739f95cb8d..7cb1e38b9914 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -121,9 +121,9 @@ public: SAL_DLLPRIVATE bool ImplIsFloatPopupModeWindow( const vcl::Window* pWindow ); SAL_DLLPRIVATE void ImplSetMouseDown() { mbMouseDown = true; } SAL_DLLPRIVATE bool ImplIsMouseDown() const { return mbMouseDown; } - static Point ImplCalcPos( vcl::Window* pWindow, - const tools::Rectangle& rRect, FloatWinPopupFlags nFlags, - sal_uInt16& rArrangeIndex ); + static Point ImplCalcPos(vcl::Window* pWindow, + const tools::Rectangle& rRect, FloatWinPopupFlags nFlags, + 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); SAL_DLLPRIVATE void ImplEndPopupMode( FloatWinPopupEndFlags nFlags, const VclPtr<vcl::Window>& xFocusId ); |