summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-25 21:56:49 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-26 09:00:54 +0200
commit6fd0fe261cd6465585adc81cb2cb96ec4c51ec34 (patch)
tree571be11f77ca456a9800d2af6245ebb3fc4ed27a /vcl/inc
parentc6b959536fb75dae31235d78bebb51f4c140e6cf (diff)
callcatcher: remove unused methods
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/fontmanager.hxx14
-rw-r--r--vcl/inc/vcl/ppdparser.hxx22
2 files changed, 0 insertions, 36 deletions
diff --git a/vcl/inc/vcl/fontmanager.hxx b/vcl/inc/vcl/fontmanager.hxx
index 467297668b5a..0af5e148762e 100644
--- a/vcl/inc/vcl/fontmanager.hxx
+++ b/vcl/inc/vcl/fontmanager.hxx
@@ -409,8 +409,6 @@ public:
// all fonttype::Builtin type fonts are not listed
// which do not occur in the PPD of pParser
void getFontList( std::list< fontID >& rFontIDs, const PPDParser* pParser = NULL, bool bUseOverrideMetrics = false );
- // get the font list and detailed font info. see getFontList for pParser
- void getFontListWithInfo( std::list< PrintFontInfo >& rFonts, const PPDParser* pParser = NULL, bool bUseOverrideMetrics = false );
// get the font list and fast font info. see getFontList for pParser
void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts, const PPDParser* pParser = NULL, bool bUseOverrideMetrics = false );
@@ -426,9 +424,6 @@ public:
// get a specific fonts PSName name
const rtl::OUString& getPSName( fontID nFontID ) const;
- // get a specific fonts style family
- FontFamily getFontFamilyType( fontID nFontID ) const;
-
// get a specific fonts family name aliases
void getFontFamilyAliases( fontID nFontID ) const;
@@ -490,24 +485,15 @@ public:
// get the ttc face number
int getFontFaceNumber( fontID nFontID ) const;
- // get a specific fonts global metrics
- const CharacterMetric& getGlobalFontMetric( fontID nFontID, bool bHorizontal ) const;
-
// get a specific fonts ascend
int getFontAscend( fontID nFontID ) const;
// get a specific fonts descent
int getFontDescend( fontID nFontID ) const;
- // get a specific fonts leading
- int getFontLeading( fontID nFontID ) const;
-
// get a fonts glyph bounding box
bool getFontBoundingBox( fontID nFont, int& xMin, int& yMin, int& xMax, int& yMax );
- // info whether there are vertical substitutions
- bool hasVerticalSubstitutions( fontID nFontID ) const;
-
// info whether an array of glyphs has vertical substitutions
void hasVerticalSubstitutions( fontID nFontID, const sal_Unicode* pCharacters,
int nCharacters, bool* pHasSubst ) const;
diff --git a/vcl/inc/vcl/ppdparser.hxx b/vcl/inc/vcl/ppdparser.hxx
index 474d847e2607..34dcb60e49d2 100644
--- a/vcl/inc/vcl/ppdparser.hxx
+++ b/vcl/inc/vcl/ppdparser.hxx
@@ -229,9 +229,6 @@ public:
// returns false if paper not found
int getPaperDimensions() const
{ return m_pPaperDimensions ? m_pPaperDimensions->countValues() : 0; }
- String getPaperDimension( int ) const;
- String getPaperDimensionCommand( int ) const;
- String getPaperDimensionCommand( const String & ) const;
// match the best paper for width and height
String matchPaper( int nWidth, int nHeight ) const;
@@ -247,33 +244,20 @@ public:
String getDefaultInputSlot() const;
int getInputSlots() const
{ return m_pInputSlots ? m_pInputSlots->countValues() : 0; }
- String getSlot( int ) const;
- String getSlotCommand( int ) const;
- String getSlotCommand( const String& ) const;
void getDefaultResolution( int& rXRes, int& rYRes ) const;
- int getResolutions() const;
- void getResolution( int, int& rXRes, int& rYRes ) const;
- String getResolutionCommand( int nXRes, int nYRes ) const;
// values in dpi
void getResolutionFromString( const String&, int&, int& ) const;
// helper function
- String getDefaultDuplexType() const;
int getDuplexTypes() const
{ return m_pDuplexTypes ? m_pDuplexTypes->countValues() : 0; }
- String getDuplex( int ) const;
- String getDuplexCommand( int ) const;
- String getDuplexCommand( const String& ) const;
int getFonts() const
{ return m_pFontList ? m_pFontList->countValues() : 0; }
void getFontAttributes( int,
String& rEncoding,
String& rCharset ) const;
- void getFontAttributes( const String&,
- String& rEncoding,
- String& rCharset ) const;
String getFont( int ) const;
@@ -282,10 +266,6 @@ public:
rtl::OUString translateOption( const rtl::OUString& i_rKey,
const rtl::OUString& i_rOption,
const com::sun::star::lang::Locale& i_rLocale = com::sun::star::lang::Locale() ) const;
- rtl::OUString translateValue( const rtl::OUString& i_rKey,
- const rtl::OUString& i_rOption,
- const rtl::OUString& i_rValue,
- const com::sun::star::lang::Locale& i_rLocale = com::sun::star::lang::Locale() ) const;
};
// ----------------------------------------------------------------------
@@ -323,8 +303,6 @@ public:
// public wrapper for the private method
bool checkConstraints( const PPDKey*, const PPDValue* );
- void getUnconstrainedValues( const PPDKey*, ::std::list< const PPDValue* >& rValues );
-
// for printer setup
char* getStreamableBuffer( sal_uLong& rBytes ) const;
void rebuildFromStreamBuffer( char* pBuffer, sal_uLong nBytes );