diff options
author | Miguel Fernández <losmeus@gmail.com> | 2012-04-26 09:44:44 +0200 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2012-04-26 09:46:13 +0200 |
commit | 44a4c577fd54de12e089e76c234f6b5f5099a3d4 (patch) | |
tree | 51bf7957f939a0f37d93574e0ff8456a47bbf7f0 | |
parent | 61a8905c48d6af18dee78022597aaebb171025d4 (diff) |
Remove unused FontSelectPattern constructor
-rwxr-xr-x | unusedcode.easy | 1 | ||||
-rw-r--r-- | vcl/inc/outfont.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 20 |
3 files changed, 0 insertions, 23 deletions
diff --git a/unusedcode.easy b/unusedcode.easy index f2ca669082da..558f12ec514f 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,7 +1,6 @@ EditEngine::GetNextVisPortion(ParaPortion const*) const FmFieldWinMgr::GetChildWindowId() FmPropBrwMgr::GetChildWindowId() -FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool) FontStyleBox::FontStyleBox(Window*, long) HTMLControls::Insert(HTMLControl const*&, unsigned short&) HTMLControls::Insert(HTMLControl const**, unsigned short) 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 |