vcl/source/window/toolbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2422dfd060fe0a4024b6410e436f2d4c358ece9b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Sep 5 11:16:35 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Sep 5 13:27:27 2019 +0200 loplugin:simplifyconstruct Change-Id: Ia512cf70a51dd8f41060d4b4b12b120826b53ee9 Reviewed-on: https://gerrit.libreoffice.org/78636 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index fbc18c08e7cd..267d2389e18a 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2359,7 +2359,7 @@ IMPL_LINK_NOARG(ToolBox, ImplUpdateHdl, Timer *, void) static void ImplDrawMoreIndicator(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) { - const Image pImage = Image(StockImage::Yes, CHEVRON); + const Image pImage(StockImage::Yes, CHEVRON); Size aImageSize = pImage.GetSizePixel(); long x = rRect.Left() + (rRect.getWidth() - aImageSize.Width())/2; long y = rRect.Top() + (rRect.getHeight() - aImageSize.Height())/2; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits