summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-12 12:53:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-14 07:35:58 +0000
commit1987a5c7772fafc1e863deeead9081fd747f7713 (patch)
treeeb7e7f1c8ffddd7faaafe709695d83efa1e3a85c /vcl
parenta2fc48ea649c341a9cfc96c6f3e16ba56ae4fa19 (diff)
callcatcher: remove unused code
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/outdev.h1
-rw-r--r--vcl/inc/vcl/rendergraphic.hxx4
-rwxr-xr-xvcl/source/gdi/outdev3.cxx17
-rw-r--r--vcl/source/gdi/rendergraphic.cxx12
4 files changed, 0 insertions, 34 deletions
diff --git a/vcl/inc/outdev.h b/vcl/inc/outdev.h
index f640bc1a1f85..8434aa506caa 100644
--- a/vcl/inc/outdev.h
+++ b/vcl/inc/outdev.h
@@ -176,7 +176,6 @@ private:
public:
void AddFontSubstitute( const String& rFontName, const String& rSubstName, sal_uInt16 nFlags );
void RemoveFontSubstitute( int nIndex );
- bool GetFontSubstitute( int nIndex, String& rFontName, String& rSubstName, sal_uInt16& rFlags ) const;
int GetFontSubstituteCount() const { return maFontSubstList.size(); };
bool Empty() const { return maFontSubstList.empty(); }
void Clear() { maFontSubstList.clear(); }
diff --git a/vcl/inc/vcl/rendergraphic.hxx b/vcl/inc/vcl/rendergraphic.hxx
index bee2abf4f6f1..a3e0e7961e8f 100644
--- a/vcl/inc/vcl/rendergraphic.hxx
+++ b/vcl/inc/vcl/rendergraphic.hxx
@@ -59,10 +59,6 @@ namespace vcl
RenderGraphic( const RenderGraphic& rRenderGraphic );
- RenderGraphic( const GraphicData& rGraphicData,
- sal_uInt32 nGraphicDataLength,
- const rtl::OUString& rGraphicDataMimeType );
-
RenderGraphic( const rtl::OUString& rGraphicDataMimeType,
sal_uInt32 nGraphicDataLength,
const sal_uInt8* pGraphicData = NULL );
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 7c417554ce50..eff30db6577a 100755
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -418,23 +418,6 @@ sal_uInt16 OutputDevice::GetFontSubstituteCount()
// -----------------------------------------------------------------------
-bool ImplDirectFontSubstitution::GetFontSubstitute( int nIndex,
- String& rFontName, String& rSubstFontName, sal_uInt16& rFlags ) const
-{
- FontSubstList::const_iterator it = maFontSubstList.begin();
- for( int nCount = 0; (it != maFontSubstList.end()) && (nCount++ != nIndex); ++it ) ;
- if( it == maFontSubstList.end() )
- return false;
-
- const ImplFontSubstEntry* pEntry = &(*it);
- rFontName = pEntry->maName;
- rSubstFontName = pEntry->maReplaceName;
- rFlags = pEntry->mnFlags;
- return true;
-}
-
-// -----------------------------------------------------------------------
-
bool ImplDirectFontSubstitution::FindFontSubstitute( String& rSubstName,
const String& rSearchName, sal_uInt16 nFlags ) const
{
diff --git a/vcl/source/gdi/rendergraphic.cxx b/vcl/source/gdi/rendergraphic.cxx
index 79771163fa2d..2077eedc4acd 100644
--- a/vcl/source/gdi/rendergraphic.cxx
+++ b/vcl/source/gdi/rendergraphic.cxx
@@ -59,18 +59,6 @@ RenderGraphic::RenderGraphic( const RenderGraphic& rRenderGraphic ) :
// -------------------------------------------------------------------------
-RenderGraphic::RenderGraphic( const GraphicData& rGraphicData,
- sal_uInt32 nGraphicDataLength,
- const rtl::OUString& rGraphicDataMimeType ) :
- maGraphicData( rGraphicData ),
- mnGraphicDataLength( nGraphicDataLength ),
- maGraphicDataMimeType( rGraphicDataMimeType )
-{
- ImplCheckData( );
-}
-
-// -------------------------------------------------------------------------
-
RenderGraphic::RenderGraphic( const rtl::OUString& rGraphicDataMimeType,
sal_uInt32 nGraphicDataLength,
const sal_uInt8* pGraphicData ) :