summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 09:23:02 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 09:23:02 +1100
commit5cb1fe674f93a882f0be1d487c5e9bb46d26e8dc (patch)
treef890f7bf944e8035717b744d1b24f0cbc5cde61f /include
parent1ccece2f322eae35601bf09c57ea583f8b270574 (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 'include')
-rw-r--r--include/vcl/metric.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index 9c2015b5f2b1..0cd14b1c20f8 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -36,9 +36,6 @@ typedef boost::intrusive_ptr< FontCharMap > FontCharMapPtr;
class VCL_DLLPUBLIC FontMetric : public vcl::Font
{
-
- friend class ::OutputDevice;
-
public:
FontMetric();
FontMetric( const FontMetric& );