diff options
Diffstat (limited to 'vcl/quartz/ctfonts.cxx')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index dc372325e9e8..6e029da574bc 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -283,10 +283,6 @@ hb_font_t* CoreTextStyle::ImplInitHbFont() return InitHbFont(pHbFace); } -rtl::Reference<PhysicalFontFace> CoreTextFontFace::Clone() const -{ - return new CoreTextFontFace( *this); -} rtl::Reference<LogicalFontInstance> CoreTextFontFace::CreateFontInstance(const FontSelectPattern& rFSD) const { @@ -540,7 +536,7 @@ void SystemFontList::AnnounceFonts( PhysicalFontCollection& rFontCollection ) co auto it = maFontContainer.cbegin(); for(; it != maFontContainer.cend(); ++it ) { - rFontCollection.Add( (*it).second->Clone().get() ); + rFontCollection.Add( (*it).second.get() ); } } |