summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/font/fontselect.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/source/font/fontselect.cxx b/vcl/source/font/fontselect.cxx
index 563c6ebcbc54..ebad5b035944 100644
--- a/vcl/source/font/fontselect.cxx
+++ b/vcl/source/font/fontselect.cxx
@@ -30,14 +30,6 @@
const char FontSelectPatternAttributes::FEAT_PREFIX = ':';
const char FontSelectPatternAttributes::FEAT_SEPARATOR = '&';
-FontSelectPattern::FontSelectPattern( const vcl::Font& rFont,
- const OUString& rSearchName, const Size& rSize, float fExactHeight)
- : FontSelectPatternAttributes(rFont, rSearchName, rSize, fExactHeight)
- , mpFontInstance( nullptr )
-{
-}
-
-
FontSelectPatternAttributes::FontSelectPatternAttributes( const vcl::Font& rFont,
const OUString& rSearchName, const Size& rSize, float fExactHeight )
: maSearchName( rSearchName )
@@ -89,19 +81,8 @@ FontSelectPatternAttributes::FontSelectPatternAttributes( const PhysicalFontFace
// NOTE: no normalization for width/height/orientation
}
-FontSelectPattern::FontSelectPattern( const PhysicalFontFace& rFontData,
- const Size& rSize, float fExactHeight, int nOrientation, bool bVertical )
- : FontSelectPatternAttributes(rFontData, rSize, fExactHeight, nOrientation, bVertical)
- , mpFontInstance( nullptr )
-{
-}
#endif
-void FontSelectPattern::copyAttributes(const FontSelectPatternAttributes &rAttributes)
-{
- static_cast<FontSelectPatternAttributes&>(*this) = rAttributes;
-}
-
size_t FontSelectPatternAttributes::hashCode() const
{
// TODO: does it pay off to improve this hash function?