diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-12-14 18:42:57 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-12-15 11:13:22 +0100 |
commit | 8b700794b2746070814e9ff416ecd7bbb1c902e7 (patch) | |
tree | 33f7d4601405d518ebd476b69122d092c01d8219 /vcl/quartz | |
parent | 2ba36f21bad74cbbd68611afddaf9bbdc8ffda50 (diff) |
Protect all LogicalFontInstance constructors
This way LogicalFontInstance can just be constructed by a
PhysicalFontFace based factory.
The patch also drops the wrong "Java logical font" comment
added by commit 125cdf3404e60cf78f2a5547e9a06ce994df5c8e.
Change-Id: Ibd5d7da0c3a65dbfa2c8ae6b05cf616d39b749f2
Reviewed-on: https://gerrit.libreoffice.org/46475
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index c31dcc329e2b..2a09ffc8a87c 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -268,11 +268,6 @@ PhysicalFontFace* CoreTextFontFace::Clone() const return new CoreTextFontFace( *this); } -LogicalFontInstance* CoreTextFontFace::CreateFontInstance( const FontSelectPattern& rFSD ) const -{ - return new LogicalFontInstance( rFSD); -} - int CoreTextFontFace::GetFontTable( const char pTagName[5], unsigned char* pResultBuf ) const { SAL_WARN_IF( pTagName[4]!='\0', "vcl", "CoreTextFontFace::GetFontTable with invalid tagname!" ); |