diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-17 00:24:09 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-18 10:57:04 +0000 |
commit | de4ec0ea9f6d065f9b45abfd5a2fdd173cf0e96c (patch) | |
tree | 85e3ad64951c49eb58a1b352835a334ae55a26bc /include/vcl/metric.hxx | |
parent | aa43af06e7686cfab58670b3ba0644396863f85a (diff) |
vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual
Change-Id: Ic2cf84a07c0050fd655d1b7fb30cdf29e62f919d
Reviewed-on: https://gerrit.libreoffice.org/21575
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include/vcl/metric.hxx')
-rw-r--r-- | include/vcl/metric.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index d3dfa9c2f167..a263fdadd36b 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -38,9 +38,9 @@ typedef boost::intrusive_ptr< ImplFontMetric > ImplFontMetricPtr; class VCL_DLLPUBLIC FontMetric : public vcl::Font { public: - FontMetric(); - FontMetric( const FontMetric& ); - ~FontMetric(); + explicit FontMetric(); + FontMetric( const FontMetric& ); // TODO make this explicit + virtual ~FontMetric(); FontType GetType() const; |