summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-17 14:24:01 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-17 20:18:46 +0000
commita6209ba6a8b5a2c9bcbd0d4f334e7d74acbde95f (patch)
tree44a45e9ccea2f818fda2fc8d34ebd59ef8dd076c /canvas
parentba66f477a3db8afdc8d76283747d30e80d437a8f (diff)
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 <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/textlayout.cxx1
1 files changed, 0 insertions, 1 deletions
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<sal_uInt16>(maText.StartPosition),
::canvas::tools::numeric_cast<sal_uInt16>(maText.Length),
- ::canvas::tools::numeric_cast<sal_uInt16>(maText.StartPosition),
aMetricVector))
{
aBoundingBoxes.realloc(aMetricVector.size());