From de4ec0ea9f6d065f9b45abfd5a2fdd173cf0e96c Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 17 Jan 2016 00:24:09 +1100 Subject: 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 Reviewed-by: Chris Sherlock --- include/vcl/metric.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/vcl/metric.hxx') 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; -- cgit