summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvasfont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvasfont.cxx')
-rw-r--r--canvas/source/vcl/canvasfont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx
index efb880945014..7a196b751468 100644
--- a/canvas/source/vcl/canvasfont.cxx
+++ b/canvas/source/vcl/canvasfont.cxx
@@ -126,8 +126,8 @@ namespace vclcanvas
return rendering::FontMetrics(
aMetric.GetAscent(),
aMetric.GetDescent(),
- aMetric.GetIntLeading(),
- aMetric.GetExtLeading(),
+ aMetric.GetInternalLeading(),
+ aMetric.GetExternalLeading(),
0,
aMetric.GetDescent() / 2.0,
aMetric.GetAscent() / 2.0);