summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-17 01:15:34 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-16 16:17:14 +0000
commit9bc2f3de8672e812f3a67541c6d7069b434a7e42 (patch)
treefcb7abae034ba20e7370670008a17d39284cadea
parent26371f105bc44e04469ec03fc5bb12505e651c6b (diff)
vcl: add comment about ImplFontMetric::{Get|Set}LineHeight()
Change-Id: I0cb13cdfbff3bfda13c08cd34a0032121500b4a3 Reviewed-on: https://gerrit.libreoffice.org/21518 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
-rw-r--r--vcl/inc/impfontmetric.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/impfontmetric.hxx b/vcl/inc/impfontmetric.hxx
index 8c021bfb5666..5c0c8235a7a3 100644
--- a/vcl/inc/impfontmetric.hxx
+++ b/vcl/inc/impfontmetric.hxx
@@ -34,7 +34,7 @@ public:
long GetDescent() const { return mnDescent; }
long GetInternalLeading() const { return mnIntLeading; }
long GetExternalLeading() const { return mnExtLeading; }
- long GetLineHeight() const { return mnLineHeight; }
+ long GetLineHeight() const { return mnLineHeight; } // TODO this is ascent + descnt
long GetSlant() const { return mnSlant; }
long GetBulletOffset() const { return mnBulletOffset; }
@@ -42,7 +42,7 @@ public:
void SetDescent( long nDescent ) { mnDescent = nDescent; }
void SetInternalLeading( long nIntLeading ) { mnIntLeading = nIntLeading; }
void SetExternalLeading( long nExtLeading ) { mnExtLeading = nExtLeading; }
- void SetLineHeight( long nHeight ) { mnLineHeight = nHeight; }
+ void SetLineHeight( long nHeight ) { mnLineHeight = nHeight; } // TODO this is ascent + descent
void SetSlant( long nSlant ) { mnSlant = nSlant; }
void SetBulletOffset( long nOffset ) { mnBulletOffset = nOffset; }