summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-02 08:37:23 +0200
committerNoel Grandin <noel@peralex.com>2015-10-06 10:17:02 +0200
commit7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 (patch)
tree62bae1461c0388af6f7a8bebbf134e9a86c92153 /include/vcl
parentd7f2db4b9ce445afdcabf370497bc66db76efbbc (diff)
loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/graphicfilter.hxx1
-rw-r--r--include/vcl/layout.hxx3
-rw-r--r--include/vcl/ppdparser.hxx21
-rw-r--r--include/vcl/prgsbar.hxx1
-rw-r--r--include/vcl/printerinfomanager.hxx3
-rw-r--r--include/vcl/window.hxx3
6 files changed, 0 insertions, 32 deletions
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index 318064bbf3b0..191a6e73208a 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -287,7 +287,6 @@ public:
sal_uInt16 ExportGraphic( const Graphic& rGraphic, const OUString& rPath,
SvStream& rOStm, sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW,
const css::uno::Sequence< css::beans::PropertyValue >* pFilterData = NULL );
- long GetExportGraphicHint() const { return nExpGraphHint; }
sal_uInt16 CanImportGraphic( const INetURLObject& rPath,
sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW,
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index 0be5645d0c68..f3d0f980634e 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -363,9 +363,6 @@ public:
virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
};
-VCL_DLLPUBLIC void setGridAttach(vcl::Window &rWidget, sal_Int32 nLeft, sal_Int32 nTop,
- sal_Int32 nWidth = 1, sal_Int32 nHeight = 1);
-
class VCL_DLLPUBLIC VclBin : public VclContainer
{
public:
diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx
index 71cc2105006a..92edf09eed2e 100644
--- a/include/vcl/ppdparser.hxx
+++ b/include/vcl/ppdparser.hxx
@@ -95,11 +95,9 @@ public:
const PPDValue* getValue( const OUString& rOption ) const;
const PPDValue* getValueCaseInsensitive( const OUString& rOption ) const;
const PPDValue* getDefaultValue() const { return m_pDefaultValue; }
- const PPDValue* getQueryValue() const { return m_bQueryValue ? &m_aQueryValue : NULL; }
const OUString& getKey() const { return m_aKey; }
bool isUIKey() const { return m_bUIOption; }
- UIType getUIType() const { return m_eUIType; }
SetupType getSetupType() const { return m_eSetupType; }
int getOrderDependency() const { return m_nOrderDependency; }
};
@@ -195,9 +193,6 @@ private:
static OUString getPPDFile( const OUString& rFile );
public:
static const PPDParser* getParser( const OUString& rFile );
- static void freeAll();
-
- const OUString& getFilename() const { return m_aFile; }
const PPDKey* getKey( int n ) const;
const PPDKey* getKey( const OUString& rKey ) const;
@@ -206,11 +201,6 @@ public:
const ::std::list< PPDConstraint >& getConstraints() const { return m_aConstraints; }
- const OUString& getPrinterName() const
- { return m_aPrinterName.isEmpty() ? m_aNickName : m_aPrinterName; }
- const OUString& getNickName() const
- { return m_aNickName.isEmpty() ? m_aPrinterName : m_aNickName; }
-
bool isColorDevice() const { return m_bColorDevice; }
bool isType42Capable() const { return m_bType42Capable; }
sal_uLong getLanguageLevel() const { return m_nLanguageLevel; }
@@ -222,8 +212,6 @@ public:
int& rWidth, int& rHeight ) const;
// width and height in pt
// returns false if paper not found
- int getPaperDimensions() const
- { return m_pPaperDimensions ? m_pPaperDimensions->countValues() : 0; }
// match the best paper for width and height
OUString matchPaper( int nWidth, int nHeight ) const;
@@ -237,21 +225,12 @@ public:
// values int pt
OUString getDefaultInputSlot() const;
- int getInputSlots() const
- { return m_pInputSlots ? m_pInputSlots->countValues() : 0; }
void getDefaultResolution( int& rXRes, int& rYRes ) const;
// values in dpi
static void getResolutionFromString( const OUString&, int&, int& );
// helper function
- int getDuplexTypes() const
- { return m_pDuplexTypes ? m_pDuplexTypes->countValues() : 0; }
-
- int getFonts() const
- { return m_pFontList ? m_pFontList->countValues() : 0; }
-
-
OUString translateKey( const OUString& i_rKey,
const com::sun::star::lang::Locale& i_rLocale = com::sun::star::lang::Locale() ) const;
OUString translateOption( const OUString& i_rKey,
diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx
index 28fbec3bdb37..56cbbe627f62 100644
--- a/include/vcl/prgsbar.hxx
+++ b/include/vcl/prgsbar.hxx
@@ -81,7 +81,6 @@ public:
virtual Size GetOptimalSize() const SAL_OVERRIDE;
void SetValue( sal_uInt16 nNewPercent );
- sal_uInt16 GetValue() const { return mnPercent; }
};
#endif // INCLUDED_VCL_PRGSBAR_HXX
diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx
index 3f1debfd346f..d41a7c8bc270 100644
--- a/include/vcl/printerinfomanager.hxx
+++ b/include/vcl/printerinfomanager.hxx
@@ -137,9 +137,6 @@ public:
// lists the names of all known printers
void listPrinters( std::list< OUString >& rList ) const;
- // gets the number of known printers
- int countPrinters() const { return m_aPrinters.size(); }
-
// gets info about a named printer
const PrinterInfo& getPrinterInfo( const OUString& rPrinter ) const;
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 812112b1bf7f..341f1c5d7c00 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -456,8 +456,6 @@ inline bool ImplDoTiledRendering()
namespace vcl { class Window; }
-vcl::Window* ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
-
namespace vcl { class Cursor; }
class Dialog;
class WindowImpl;
@@ -550,7 +548,6 @@ private:
#ifdef DBG_UTIL
friend const char* ::ImplDbgCheckWindow( const void* pObj );
#endif
- friend vcl::Window* ::ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
public: