summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-05-02 03:50:05 +1000
committerTomaž Vajngerl <quikee@gmail.com>2021-05-03 15:13:58 +0200
commitd19dbcc139d18771e5e20e82a694f1512476e41c (patch)
treebf48c0f5b5f8578adb3e49fa91a6532a6dbc8d3f /canvas
parent8c756af15e967fca3b6cc08be9a57f6d249a27b7 (diff)
vcl: remove MetricVector
Change-Id: Ib700887ca79f423c65dfb75eea36bbfd808fa172 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114976 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/textlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 4bdda37d9613..b3eaee7f8fa9 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -169,7 +169,7 @@ namespace vclcanvas
std::unique_ptr< ::tools::Long []> aOffsets(new ::tools::Long[maLogicalAdvancements.getLength()]);
setupTextOffsets(aOffsets.get(), maLogicalAdvancements, aViewState, aRenderState);
- MetricVector aMetricVector;
+ std::vector< ::tools::Rectangle > aMetricVector;
uno::Sequence<geometry::RealRectangle2D> aBoundingBoxes;
if (pVDev->GetGlyphBoundRects(
Point(0,0),