diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-15 15:53:44 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-15 18:39:30 +1100 |
commit | 51b1b469abdc33a3c92f2a95cd4d326d9166ef05 (patch) | |
tree | 7f400c76618a3b88cc75e0829f7e3bc4a9cd41de /vcl/inc/impfontmetric.hxx | |
parent | ed373ea7efd34ca6baab8ddbf809e6f2a06f1a9e (diff) |
vcl: create a default FontAttributes constructor
Change-Id: If2f297c9c4ee1dd4aff5d24ddd55fa4bb33073e0
Diffstat (limited to 'vcl/inc/impfontmetric.hxx')
-rw-r--r-- | vcl/inc/impfontmetric.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/impfontmetric.hxx b/vcl/inc/impfontmetric.hxx index e39a8bb5b668..8c021bfb5666 100644 --- a/vcl/inc/impfontmetric.hxx +++ b/vcl/inc/impfontmetric.hxx @@ -27,10 +27,6 @@ typedef boost::intrusive_ptr< ImplFontCharMap > ImplFontCharMapPtr; class ImplFontMetric { - friend class FontMetric; - friend void intrusive_ptr_add_ref(ImplFontMetric* pImplFontMetric); - friend void intrusive_ptr_release(ImplFontMetric* pImplFontMetric); - public: explicit ImplFontMetric(); @@ -61,6 +57,10 @@ public: bool operator==( const ImplFontMetric& ) const; private: + friend class FontMetric; + friend void intrusive_ptr_add_ref(ImplFontMetric* pImplFontMetric); + friend void intrusive_ptr_release(ImplFontMetric* pImplFontMetric); + long mnAscent; // Ascent long mnDescent; // Descent long mnIntLeading; // Internal Leading |