diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-22 12:07:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-23 06:19:06 +0000 |
commit | 6776fdc63bd4407ebec9267fb492cba9c1a40af2 (patch) | |
tree | 56ef463ce80f3b92815847f2ab1f88404f745229 /include | |
parent | fix crash in the sidebar code (diff) | |
download | core-6776fdc63bd4407ebec9267fb492cba9c1a40af2.tar.gz core-6776fdc63bd4407ebec9267fb492cba9c1a40af2.zip |
loplugin:unusedmethods
Change-Id: I5a72ee666e71b4c5c8f43d327aa7e8eb62d1e51b
Reviewed-on: https://gerrit.libreoffice.org/34537
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/childwin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/salbtype.hxx | 17 |
2 files changed, 0 insertions, 19 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 10aa39a9b666..c170611d4db6 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -135,8 +135,6 @@ public: sal_uInt16 GetContextId() const { return nContextId; } - FloatingWindow* GetFloatingWindow() const; - static FloatingWindow* GetFloatingWindow(vcl::Window *pParent); static void RegisterChildWindowContext(SfxModule*, sal_uInt16, SfxChildWinContextFactory*); diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx index d0d71b133706..7aa075aeed3c 100644 --- a/include/vcl/salbtype.hxx +++ b/include/vcl/salbtype.hxx @@ -320,9 +320,6 @@ public: inline void GetColorFor16BitLSB( BitmapColor& rColor, const sal_uInt8* pPixel ) const; inline void SetColorFor16BitLSB( const BitmapColor& rColor, sal_uInt8* pPixel ) const; - inline void GetColorFor24Bit( BitmapColor& rColor, const sal_uInt8* pPixel ) const; - inline void SetColorFor24Bit( const BitmapColor& rColor, sal_uInt8* pPixel ) const; - inline void GetColorFor32Bit( BitmapColor& rColor, const sal_uInt8* pPixel ) const; inline void GetColorAndAlphaFor32Bit( BitmapColor& rColor, sal_uInt8& rAlpha, const sal_uInt8* pPixel ) const; inline void SetColorFor32Bit( const BitmapColor& rColor, sal_uInt8* pPixel ) const; @@ -555,20 +552,6 @@ inline void ColorMask::SetColorFor16BitLSB( const BitmapColor& rColor, sal_uInt8 pPixel[ 1 ] = (sal_uInt8)(nVal >> 8U); } -inline void ColorMask::GetColorFor24Bit( BitmapColor& rColor, const sal_uInt8* pPixel ) const -{ - const sal_uInt32 nVal = pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ) | ( (sal_uInt32) pPixel[ 2 ] << 16UL ); - MASK_TO_COLOR( nVal, maR.mnMask, maG.mnMask, maB.mnMask, maR.mnShift, maG.mnShift, maB.mnShift, rColor ); -} - -inline void ColorMask::SetColorFor24Bit( const BitmapColor& rColor, sal_uInt8* pPixel ) const -{ - const sal_uInt32 nVal = COLOR_TO_MASK( rColor, maR.mnMask, maG.mnMask, maB.mnMask, maR.mnShift, maG.mnShift, maB.mnShift, 0/*nAlphaChannel*/ ); - pPixel[ 0 ] = (sal_uInt8) nVal; - pPixel[ 1 ] = (sal_uInt8) ( nVal >> 8UL ); - pPixel[ 2 ] = (sal_uInt8) ( nVal >> 16UL ); -} - inline void ColorMask::GetColorFor32Bit( BitmapColor& rColor, const sal_uInt8* pPixel ) const { const sal_uInt32 nVal = (sal_uInt32) pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ) | |