diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 09:23:02 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-14 09:23:02 +1100 |
commit | 5cb1fe674f93a882f0be1d487c5e9bb46d26e8dc (patch) | |
tree | f890f7bf944e8035717b744d1b24f0cbc5cde61f /vcl/inc/impfont.hxx | |
parent | 1ccece2f322eae35601bf09c57ea583f8b270574 (diff) |
vcl: ImpFontMetric and FontMetric no longer friends with OutputDevice
Exposng your private members as public is bad, but its also
unacceptable to allow friends to access your private members. It's
not the done thing in civilized C++ society.
Change-Id: Id8f811f0e775afde26c6119b274f37908731507c
Diffstat (limited to 'vcl/inc/impfont.hxx')
-rw-r--r-- | vcl/inc/impfont.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 8ff0aab7b894..09a78bc07016 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -91,8 +91,6 @@ private: class ImplFontMetric { - friend class ::OutputDevice; - private: long mnAscent; // Ascent long mnDescent; // Descent |