diff options
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/awt/vclxfont.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/awt/vclxfont.hxx b/include/toolkit/awt/vclxfont.hxx index d9550e742e82..ebc09e7190c7 100644 --- a/include/toolkit/awt/vclxfont.hxx +++ b/include/toolkit/awt/vclxfont.hxx @@ -42,7 +42,8 @@ private: ::osl::Mutex maMutex; css::uno::Reference< css::awt::XDevice> mxDevice; vcl::Font maFont; - FontMetric* mpFontMetric; + std::unique_ptr<FontMetric> + mpFontMetric; protected: bool ImplAssertValidFontMetric(); |