diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-08 10:25:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-10 08:21:20 +0000 |
commit | 001e694ecd21095b6fcfb5632ace63d8e0c2b7f8 (patch) | |
tree | 6a78b42161a396b3a63e55a4e5c2fa45d76311c2 /vcl/inc | |
parent | f06f06d50393184f1ca2e27db6167b08edc26cb3 (diff) |
loplugin:unusedmethods vcl(part2)
Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a
Reviewed-on: https://gerrit.libreoffice.org/16847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/PhysicalFontCollection.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/PhysicalFontFace.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/brdwin.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/outdev.h | 3 | ||||
-rw-r--r-- | vcl/inc/outfont.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/salgdiimpl.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/salinst.hxx | 8 | ||||
-rw-r--r-- | vcl/inc/unx/salinst.h | 1 |
9 files changed, 0 insertions, 30 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx index a71ff8bf18f8..1625a358f2af 100644 --- a/vcl/inc/PhysicalFontCollection.hxx +++ b/vcl/inc/PhysicalFontCollection.hxx @@ -75,7 +75,6 @@ public: protected: void InitMatchData() const; - bool AreMapNamesAvailable() const { return mbMapNames; } PhysicalFontFamily* ImplFindByAliasName(const OUString& rSearchName, const OUString& rShortName) const; diff --git a/vcl/inc/PhysicalFontFace.hxx b/vcl/inc/PhysicalFontFace.hxx index fa275cc84038..4c3f04b7c928 100644 --- a/vcl/inc/PhysicalFontFace.hxx +++ b/vcl/inc/PhysicalFontFace.hxx @@ -61,7 +61,6 @@ public: bool IsScalable() const { return (mnHeight == 0); } bool CheckMagic( int n ) const { return (n == mnMagic); } PhysicalFontFace* GetNextFace() const { return mpNext; } - PhysicalFontFace* CreateAlias() const { return Clone(); } bool IsBetterMatch( const FontSelectPattern&, FontMatchStatus& ) const; sal_Int32 CompareWithSize( const PhysicalFontFace& ) const; diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index d00ca1b8fcb0..5811c052b419 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -144,7 +144,6 @@ public: void Draw( const Rectangle& rRect, OutputDevice* pDev, const Point& rPos ); void SetDisplayActive( bool bActive ); - bool IsDisplayActive() const { return mbDisplayActive; } void SetTitleType( sal_uInt16 nTitleType, const Size& rSize ); void SetBorderStyle( WindowBorderStyle nStyle ); WindowBorderStyle GetBorderStyle() const { return mnBorderStyle; } @@ -234,7 +233,6 @@ public: static void ImplInitTitle( ImplBorderFrameData* pData ); static sal_uInt16 ImplHitTest( ImplBorderFrameData* pData, const Point& rPos ); static bool ImplMouseMove( ImplBorderFrameData* pData, const MouseEvent& rMEvt ); - bool ImplMouseButtonDown( ImplBorderFrameData* pData, const MouseEvent& rMEvt ); static OUString ImplRequestHelp( ImplBorderFrameData* pData, const Point& rPos, Rectangle& rHelpRect ); static long ImplCalcTitleWidth( const ImplBorderFrameData* pData ); }; diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index b05638298e69..caa883dca899 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -247,11 +247,6 @@ public: virtual void drawBitmap( const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap, - SalColor nTransparentColor ) SAL_OVERRIDE; - - virtual void drawBitmap( - const SalTwoRect& rPosAry, - const SalBitmap& rSalBitmap, const SalBitmap& rMaskBitmap ) SAL_OVERRIDE; virtual void drawMask( diff --git a/vcl/inc/outdev.h b/vcl/inc/outdev.h index abedf48e2f95..256e19e99ddb 100644 --- a/vcl/inc/outdev.h +++ b/vcl/inc/outdev.h @@ -64,7 +64,6 @@ public: void Add( int nHeight ) { maSizeList.push_back( nHeight ); } int Count() const { return maSizeList.size(); } int Get( int nIndex ) const { return maSizeList[ nIndex ]; } - const OUString& GetFontName() const { return maFontName; } }; // nowadays these substitutions are needed for backward compatibility and tight platform integration: @@ -107,8 +106,6 @@ public: void AddFontSubstitute( const OUString& rFontName, const OUString& rSubstName, AddFontSubstituteFlags nFlags ); void RemoveFontSubstitute( int nIndex ); int GetFontSubstituteCount() const { return maFontSubstList.size(); }; - bool Empty() const { return maFontSubstList.empty(); } - void Clear() { maFontSubstList.clear(); } bool FindFontSubstitute( OUString& rSubstName, const OUString& rFontName, AddFontSubstituteFlags nFlags ) const; }; diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx index f9f5344904b0..dd6c45634752 100644 --- a/vcl/inc/outfont.hxx +++ b/vcl/inc/outfont.hxx @@ -94,10 +94,6 @@ private: class ImplDevFontAttributes : public ImplFontAttributes { public: // TODO: create matching interface class - const OUString& GetAliasNames() const { return maMapNames; } - int GetQuality() const { return mnQuality; } - bool IsRotatable() const { return mbOrientation; } - bool IsDeviceFont() const { return mbDevice; } bool IsEmbeddable() const { return mbEmbeddable; } bool IsSubsettable() const { return mbSubsettable; } diff --git a/vcl/inc/salgdiimpl.hxx b/vcl/inc/salgdiimpl.hxx index aa08cf005b08..237f60b34736 100644 --- a/vcl/inc/salgdiimpl.hxx +++ b/vcl/inc/salgdiimpl.hxx @@ -136,11 +136,6 @@ public: virtual void drawBitmap( const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap, - SalColor nTransparentColor ) = 0; - - virtual void drawBitmap( - const SalTwoRect& rPosAry, - const SalBitmap& rSalBitmap, const SalBitmap& rMaskBitmap ) = 0; virtual void drawMask( diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx index 4ad66af11a7f..63e707e9b052 100644 --- a/vcl/inc/salinst.hxx +++ b/vcl/inc/salinst.hxx @@ -147,17 +147,9 @@ public: bool CallEventCallback( void* pEvent, int nBytes ) { return m_pEventInst.is() && m_pEventInst->dispatchEvent( pEvent, nBytes ); } - bool CallErrorCallback( void* pEvent, int nBytes ) - { return m_pEventInst.is() && m_pEventInst->dispatchErrorEvent( pEvent, nBytes ); } - enum ConnectionIdentifierType { AsciiCString, Blob }; virtual void* GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes ) = 0; - // this is a vehicle for PrintFontManager to bridge the gap between vcl and libvclplug_* - // this is only necessary because PrintFontManager is an exported vcl API and therefore - // needs to be in libvcl while libvclplug_* do not contain exported C++ API - virtual void FillFontPathList( std::list< OString >& o_rFontPaths ); - // dtrans implementation virtual css::uno::Reference< css::uno::XInterface > CreateClipboard( const css::uno::Sequence< css::uno::Any >& i_rArguments ); virtual css::uno::Reference< css::uno::XInterface > CreateDragSource(); diff --git a/vcl/inc/unx/salinst.h b/vcl/inc/unx/salinst.h index 7197e7c6dca2..ea57496a7a1f 100644 --- a/vcl/inc/unx/salinst.h +++ b/vcl/inc/unx/salinst.h @@ -75,7 +75,6 @@ public: virtual bool AnyInput( VclInputFlags nType ) SAL_OVERRIDE; virtual void* GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes ) SAL_OVERRIDE; - virtual void FillFontPathList( std::list< OString >& o_rFontPaths ) SAL_OVERRIDE; void SetLib( SalXLib *pXLib ) { mpXLib = pXLib; } // dtrans implementation |