diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-19 16:00:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-19 17:39:16 +0100 |
commit | 5206992e6e9b22b48cea0a4a7626ee576c66492e (patch) | |
tree | dfc29178d2536d31d8de06556a32503feec3fe2b /canvas | |
parent | 12180ed8d6d64f78d37c6ee070da5a1ab3684843 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper_text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |