unusedcode.easy | 1 - vcl/inc/outfont.hxx | 2 -- vcl/source/gdi/outdev3.cxx | 20 -------------------- 3 files changed, 23 deletions(-)
New commits: commit 44a4c577fd54de12e089e76c234f6b5f5099a3d4 Author: Miguel Fernández <[email protected]> Date: Thu Apr 26 09:44:44 2012 +0200 Remove unused FontSelectPattern constructor diff --git a/unusedcode.easy b/unusedcode.easy index f2ca669..558f12e 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 19c2c3a..8d159a5 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 adc2bf7..93e85ff 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
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
