From 5206992e6e9b22b48cea0a4a7626ee576c66492e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 Feb 2019 16:00:52 +0100 Subject: Some uses of C++17 class template argument deduction Change-Id: I47c469c0fcdff41d83729be9489c946e81ef3686 Reviewed-on: https://gerrit.libreoffice.org/68020 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- canvas/source/cairo/cairo_canvashelper_text.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canvas') diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx index 85f68d8915be..39e1689c5b68 100644 --- a/canvas/source/cairo/cairo_canvashelper_text.cxx +++ b/canvas/source/cairo/cairo_canvashelper_text.cxx @@ -267,7 +267,7 @@ namespace cairocanvas clip_cairo_from_dev(*mpVirtualDevice); - rtl::Reference< TextLayout > pTextLayout( new TextLayout(text, textDirection, 0, CanvasFont::Reference(dynamic_cast< CanvasFont* >( xFont.get() )), mpSurfaceProvider) ); + rtl::Reference pTextLayout( new TextLayout(text, textDirection, 0, CanvasFont::Reference(dynamic_cast< CanvasFont* >( xFont.get() )), mpSurfaceProvider) ); pTextLayout->draw(mpCairo, *mpVirtualDevice, aOutpos, viewState, renderState); } -- cgit