[Libreoffice-commits] core.git: vcl/inc

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 18 16:17:40 PST 2016


 vcl/inc/impfontmetric.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d95d9d7f908419f397941ef60ac6ced3261c9b87
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sun Jan 17 01:15:34 2016 +1100

    vcl: add comment about ImplFontMetric::{Get|Set}LineHeight()
    
    Change-Id: I0cb13cdfbff3bfda13c08cd34a0032121500b4a3
    Reviewed-on: https://gerrit.libreoffice.org/21518
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>
    Tested-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/vcl/inc/impfontmetric.hxx b/vcl/inc/impfontmetric.hxx
index 8c021bf..5c0c823 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; }
 


More information about the Libreoffice-commits mailing list