From a901e48579e203a28cc0871ceed0356ae6a5798b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 7 Jun 2018 15:57:09 +0200 Subject: drop PhysicalFontFace::Clone since we are now holding these via reference counting, no need to clone them Change-Id: I7b0bd86f4a5bca428f7dcd989f838a9aa0c7e179 Reviewed-on: https://gerrit.libreoffice.org/55427 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/unx/freetype_glyphcache.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl/inc/unx') diff --git a/vcl/inc/unx/freetype_glyphcache.hxx b/vcl/inc/unx/freetype_glyphcache.hxx index bf00935b15a1..910aa2a70ae6 100644 --- a/vcl/inc/unx/freetype_glyphcache.hxx +++ b/vcl/inc/unx/freetype_glyphcache.hxx @@ -115,7 +115,6 @@ public: FreetypeFontFace( FreetypeFontInfo*, const FontAttributes& ); virtual rtl::Reference CreateFontInstance( const FontSelectPattern& ) const override; - virtual rtl::Reference Clone() const override { return new FreetypeFontFace( *this ); } virtual sal_IntPtr GetFontId() const override { return mpFreetypeFontInfo->GetFontId(); } }; -- cgit