summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/vcl/image.hxx2
-rw-r--r--vcl/source/gdi/image.cxx9
2 files changed, 0 insertions, 11 deletions
diff --git a/vcl/inc/vcl/image.hxx b/vcl/inc/vcl/image.hxx
index 7b64582f4a2e..301af44bead9 100644
--- a/vcl/inc/vcl/image.hxx
+++ b/vcl/inc/vcl/image.hxx
@@ -88,8 +88,6 @@ public:
Image GetColorTransformedImage( ImageColorTransform eColorTransform ) const;
- void Invert();
-
sal_Bool operator!() const { return( !mpImplData ? true : false ); }
Image& operator=( const Image& rImage );
sal_Bool operator==( const Image& rImage ) const;
diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx
index 2e8459725907..f587bc29d2e9 100644
--- a/vcl/source/gdi/image.cxx
+++ b/vcl/source/gdi/image.cxx
@@ -276,15 +276,6 @@ uno::Reference< graphic::XGraphic > Image::GetXGraphic() const
// -----------------------------------------------------------------------
-void Image::Invert()
-{
- BitmapEx aInvertedBmp( GetBitmapEx() );
- aInvertedBmp.Invert();
- *this = aInvertedBmp;
-}
-
-// -----------------------------------------------------------------------
-
Image& Image::operator=( const Image& rImage )
{
DBG_CHKTHIS( Image, NULL );