summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-10 22:26:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-11 11:55:04 +0000
commit328e09955a612b8bcd6962f8af1b5dfb7272871a (patch)
tree61579837ac6ee0976d7d671e1120eeee2cf78489 /vcl
parentByteString->rtl::OString (diff)
downloadcore-328e09955a612b8bcd6962f8af1b5dfb7272871a.tar.gz
core-328e09955a612b8bcd6962f8af1b5dfb7272871a.zip
callcatcher: remove some unused code
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/outdev.hxx4
-rwxr-xr-xvcl/source/gdi/outdev3.cxx12
2 files changed, 0 insertions, 16 deletions
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
{