summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiguel Fernández <losmeus@gmail.com>2012-04-26 09:44:44 +0200
committerJesús Corrius <jesus@softcatala.org>2012-04-26 09:46:13 +0200
commit44a4c577fd54de12e089e76c234f6b5f5099a3d4 (patch)
tree51bf7957f939a0f37d93574e0ff8456a47bbf7f0 /vcl
parent61a8905c48d6af18dee78022597aaebb171025d4 (diff)
Remove unused FontSelectPattern constructor
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/outfont.hxx2
-rw-r--r--vcl/source/gdi/outdev3.cxx20
2 files changed, 0 insertions, 22 deletions
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 19c2c3a855a3..8d159a53d2fc 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -161,8 +161,6 @@ class FontSelectPattern : public ImplFontAttributes
public:
FontSelectPattern( const Font&, const String& rSearchName,
const Size&, float fExactHeight );
- FontSelectPattern( const ImplFontData&, const Size&,
- float fExactHeight, int nOrientation, bool bVertical );
public: // TODO: change to private
String maTargetName; // name of the font name token that is chosen
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index adc2bf7736fd..93e85ff29bd2 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -2175,26 +2175,6 @@ FontSelectPattern::FontSelectPattern( const Font& rFont,
mnWidth = -mnWidth;
}
-// -----------------------------------------------------------------------
-
-FontSelectPattern::FontSelectPattern( const ImplFontData& rFontData,
- const Size& rSize, float fExactHeight, int nOrientation, bool bVertical )
-: ImplFontAttributes( rFontData ),
- mnWidth( rSize.Width() ),
- mnHeight( rSize.Height() ),
- mfExactHeight( fExactHeight ),
- mnOrientation( nOrientation ),
- meLanguage( 0 ),
- mbVertical( bVertical ),
- mbNonAntialiased( false ),
- mbEmbolden( false ),
- mpFontData( &rFontData ),
- mpFontEntry( NULL )
-{
- maTargetName = maSearchName = maName;
- // NOTE: no normalization for width/height/orientation
-}
-
// =======================================================================
size_t ImplFontCache::IFSD_Hash::operator()( const FontSelectPattern& rFSD ) const