diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 09:17:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 12:32:53 +0100 |
commit | bfd33a826cf842de8fce9e331b24d25c1bc58b28 (patch) | |
tree | 11bca0b4bdaadbf25b60857a2e7ff156bbb32223 /canvas | |
parent | remove some unnecessary casts and convert some to const_cast (diff) | |
download | core-bfd33a826cf842de8fce9e331b24d25c1bc58b28.tar.gz core-bfd33a826cf842de8fce9e331b24d25c1bc58b28.zip |
callcatcher: update unused code
Change-Id: I735264eb32ebdd165d23a4717f0329f666b8b140
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_devicehelper.cxx | 10 | ||||
-rw-r--r-- | canvas/source/directx/dx_devicehelper.hxx | 3 | ||||
-rw-r--r-- | canvas/source/directx/dx_spritedevicehelper.cxx | 12 | ||||
-rw-r--r-- | canvas/source/directx/dx_spritedevicehelper.hxx | 3 | ||||
-rw-r--r-- | canvas/source/vcl/devicehelper.cxx | 6 | ||||
-rw-r--r-- | canvas/source/vcl/devicehelper.hxx | 1 |
6 files changed, 0 insertions, 35 deletions
diff --git a/canvas/source/directx/dx_devicehelper.cxx b/canvas/source/directx/dx_devicehelper.cxx index 759bb0b70f17..76e891a2cd88 100644 --- a/canvas/source/directx/dx_devicehelper.cxx +++ b/canvas/source/directx/dx_devicehelper.cxx @@ -178,16 +178,6 @@ namespace dxcanvas return uno::Reference< rendering::XVolatileBitmap >(); } - bool DeviceHelper::hasFullScreenMode() - { - return false; - } - - bool DeviceHelper::enterFullScreenMode( bool /*bEnter*/ ) - { - return false; - } - uno::Any DeviceHelper::isAccelerated() const { return ::com::sun::star::uno::makeAny(false); diff --git a/canvas/source/directx/dx_devicehelper.hxx b/canvas/source/directx/dx_devicehelper.hxx index cdf1e943243e..c17815341593 100644 --- a/canvas/source/directx/dx_devicehelper.hxx +++ b/canvas/source/directx/dx_devicehelper.hxx @@ -79,9 +79,6 @@ namespace dxcanvas const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, const ::com::sun::star::geometry::IntegerSize2D& size ); - bool hasFullScreenMode(); - bool enterFullScreenMode( bool bEnter ); - ::com::sun::star::uno::Any isAccelerated() const; ::com::sun::star::uno::Any getDeviceHandle() const; ::com::sun::star::uno::Any getSurfaceHandle() const; diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx index 1581d5202620..5b24ff2fd15c 100644 --- a/canvas/source/directx/dx_spritedevicehelper.cxx +++ b/canvas/source/directx/dx_spritedevicehelper.cxx @@ -158,18 +158,6 @@ namespace dxcanvas return uno::Reference< rendering::XVolatileBitmap >(); } - bool SpriteDeviceHelper::hasFullScreenMode() - { - // TODO(F3): offer fullscreen mode the XCanvas way - return false; - } - - bool SpriteDeviceHelper::enterFullScreenMode( bool /*bEnter*/ ) - { - // TODO(F3): offer fullscreen mode the XCanvas way - return false; - } - void SpriteDeviceHelper::destroyBuffers() { // TODO(F3): implement XBufferStrategy interface. For now, we diff --git a/canvas/source/directx/dx_spritedevicehelper.hxx b/canvas/source/directx/dx_spritedevicehelper.hxx index daced3bf34cf..3b52f2db81f4 100644 --- a/canvas/source/directx/dx_spritedevicehelper.hxx +++ b/canvas/source/directx/dx_spritedevicehelper.hxx @@ -64,9 +64,6 @@ namespace dxcanvas const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, const ::com::sun::star::geometry::IntegerSize2D& size ); - bool hasFullScreenMode( ); - bool enterFullScreenMode( bool bEnter ); - void destroyBuffers( ); sal_Bool showBuffer( bool bIsVisible, sal_Bool bUpdateAll ); sal_Bool switchBuffer( bool bIsVisible, sal_Bool bUpdateAll ); diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx index 63fdc8a2268d..076135140ae1 100644 --- a/canvas/source/vcl/devicehelper.cxx +++ b/canvas/source/vcl/devicehelper.cxx @@ -149,12 +149,6 @@ namespace vclcanvas return uno::Reference< rendering::XVolatileBitmap >(); } - bool DeviceHelper::enterFullScreenMode( bool bEnter ) - { - (void)bEnter; - return false; - } - void DeviceHelper::disposing() { // release all references diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx index 55bf9bfa8ffe..08d2270d5590 100644 --- a/canvas/source/vcl/devicehelper.hxx +++ b/canvas/source/vcl/devicehelper.hxx @@ -68,7 +68,6 @@ namespace vclcanvas ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XVolatileBitmap > createVolatileAlphaBitmap( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice, const ::com::sun::star::geometry::IntegerSize2D& size ); - bool enterFullScreenMode( bool bEnter ); ::com::sun::star::uno::Any isAccelerated() const; ::com::sun::star::uno::Any getDeviceHandle() const; |