From 840be9fdccb99eb3faccf9695186810eba5de8e4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 2 Apr 2018 13:50:31 +0100 Subject: make ensureRepaint private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaa15e12af8e59ed585e07d620353a05e4b8b5a26 Reviewed-on: https://gerrit.libreoffice.org/52257 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/dialog.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index 6104def06236..45f76c1e5521 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -72,6 +72,11 @@ private: DECL_DLLPRIVATE_LINK(ImplAsyncCloseHdl, void*, void); DECL_DLLPRIVATE_LINK(ResponseHdl, Button*, void); + // ensureRepaint - triggers Application::Yield until the dialog is + // completely repainted. Sometimes needed for dialogs showing progress + // during actions + void ensureRepaint(); + protected: using Window::ImplInit; void ImplInit( vcl::Window* pParent, WinBits nStyle, InitFlag eFlag = InitFlag::Default ); @@ -121,11 +126,6 @@ public: virtual void PrePaint(vcl::RenderContext& rRenderContext) override; virtual void PostPaint(vcl::RenderContext& rRenderContext) override; - // ensureRepaint - triggers Application::Yield until the dialog is - // completely repainted. Sometimes needed for dialogs showing progress - // during actions - void ensureRepaint(); - // Screenshot interface virtual std::vector getAllPageUIXMLDescriptions() const; virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription); -- cgit