From 328e09955a612b8bcd6962f8af1b5dfb7272871a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Nov 2011 22:26:44 +0000 Subject: callcatcher: remove some unused code --- vcl/inc/vcl/outdev.hxx | 4 ---- vcl/source/gdi/outdev3.cxx | 12 ------------ 2 files changed, 16 deletions(-) (limited to 'vcl') diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx index 6aacf92e2e5c..17b94dbab5c5 100644 --- a/vcl/inc/vcl/outdev.hxx +++ b/vcl/inc/vcl/outdev.hxx @@ -1157,10 +1157,6 @@ public: sal_uInt16 nFlags = 0 ); static void RemoveFontSubstitute( sal_uInt16 n ); static sal_uInt16 GetFontSubstituteCount(); - static void GetFontSubstitute( sal_uInt16 n, - XubString& rFontName, - XubString& rReplaceFontName, - sal_uInt16& rFlags ); static Font GetDefaultFont( sal_uInt16 nType, LanguageType eLang, diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 6cd8e34d8891..7c417554ce50 100755 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -418,18 +418,6 @@ sal_uInt16 OutputDevice::GetFontSubstituteCount() // ----------------------------------------------------------------------- -void OutputDevice::GetFontSubstitute( sal_uInt16 n, - XubString& rFontName, - XubString& rReplaceFontName, - sal_uInt16& rFlags ) -{ - const ImplDirectFontSubstitution* pSubst = ImplGetSVData()->maGDIData.mpDirectFontSubst; - if( pSubst ) - pSubst->GetFontSubstitute( n, rFontName, rReplaceFontName, rFlags ); -} - -// ----------------------------------------------------------------------- - bool ImplDirectFontSubstitution::GetFontSubstitute( int nIndex, String& rFontName, String& rSubstFontName, sal_uInt16& rFlags ) const { -- cgit