From b0fa356eed82a0452e6bcb915f179f5e2d02943a Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 2 Jan 2020 18:02:41 +0100 Subject: 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 Tested-by: Jenkins --- vcl/inc/window.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vcl/inc/window.h') 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 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 -- cgit breoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-07-21migrate to boost::gettextCaolán McNamara