From a6209ba6a8b5a2c9bcbd0d4f334e7d74acbde95f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 17 Mar 2017 14:24:01 +0100 Subject: vcl: OutputDevice::GetGlyphBoundRects()'s nIndex and nBase is always the same So keeping just nIndex is enough. Change-Id: I5d3a0e6b4a6ce1305a56cf50e7ff181a098f6412 Reviewed-on: https://gerrit.libreoffice.org/35336 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- canvas/source/vcl/textlayout.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'canvas') diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 98f5f43d7bf1..03f2fbaebd24 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -181,7 +181,6 @@ namespace vclcanvas maText.Text, ::canvas::tools::numeric_cast(maText.StartPosition), ::canvas::tools::numeric_cast(maText.Length), - ::canvas::tools::numeric_cast(maText.StartPosition), aMetricVector)) { aBoundingBoxes.realloc(aMetricVector.size()); -- cgit v1.2.3