diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-01-02 18:02:41 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-02 18:48:13 +0100 |
commit | b0fa356eed82a0452e6bcb915f179f5e2d02943a (patch) | |
tree | a7cb1072c82bac7eb3874a278707dd104f2beb28 /vcl/inc/window.h | |
parent | 27172d6cfb8612d14d11dd8f43843d4b6cfaa0bd (diff) |
tdf#129662 vcl: rtl: fix scrollbar in dropdowns
Regression from commit d4714b0fdb81e6e561ae526cc517ecc9a40a603e
(tdf#101978 vcl combobox/listbox floating window: avoid flicker,
2019-06-17).
High-level vcl double-buffering never set up RTL status of the virtual
device correctly, but now that double-buffering is used at more places,
this got noticed.
Change-Id: Iba378cef3a693b0712389fab519f38ee222577d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86134
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/window.h')
-rw-r--r-- | vcl/inc/window.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h index 970e7c58b0c3..4da4a3adc5d2 100644 --- a/vcl/inc/window.h +++ b/vcl/inc/window.h @@ -396,8 +396,10 @@ public: bool mbLOKParentNotifier; }; +namespace vcl +{ /// Sets up the buffer to have settings matching the window, and restores the original state in the dtor. -class PaintBufferGuard +class VCL_DLLPUBLIC PaintBufferGuard { ImplFrameData* mpFrameData; VclPtr<vcl::Window> m_pWindow; @@ -415,6 +417,7 @@ public: /// Returns either the frame's buffer or the window, in case of no buffering. vcl::RenderContext* GetRenderContext(); }; +} // helper methods |