diff options
author | Ilhan Yesil <ilhanyesil@gmx.de> | 2018-11-27 09:39:41 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-03-21 18:51:00 +0100 |
commit | 428d5f2449df8556b87c22663a7a48d1eec06bb7 (patch) | |
tree | 92bd5348d2e7552e863c4e115b9bffe9938f8173 /include | |
parent | e33e0e00788c268a6567520bcaaf0ebe23bc261c (diff) |
tdf#121671 Floating toolbars remain their position after reopen
Calculate the relative position of the floating toolbars by calling
the ImplCallMove function, where the current position is read from
the real window.
Change-Id: I6a142055c3340dda2339980fbc5a7ebb431e228b
Reviewed-on: https://gerrit.libreoffice.org/64093
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include')
-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 a9ac32958110..75dd4c1fec10 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -153,6 +153,7 @@ public: void SetPopupModeEndHdl( const Link<FloatingWindow*,void>& rLink ) { maPopupModeEndHdl = rLink; } bool GrabsFocus() const { return mbGrabFocus; } + bool UpdatePositionData(); static Point CalcFloatingPosition( vcl::Window* pWindow, const tools::Rectangle& rRect, FloatWinPopupFlags nFlags, sal_uInt16& rArrangeIndex ); }; |