diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-22 09:23:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-22 09:23:04 +0100 |
commit | a4d460c5f38e4262a657e4919d093bcc722a7763 (patch) | |
tree | ad764f30f701daa910857c0acb0d50c3bee482df /canvas | |
parent | 11c834698466aea8004ff4b716afa26ae82aa615 (diff) |
SpriteDeviceHelper::createBuffers unused and does nothing
Change-Id: Ief6d775a53e5984e0dc6d9838280fb24bcbcb67f
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_spritedevicehelper.cxx | 7 | ||||
-rw-r--r-- | canvas/source/directx/dx_spritedevicehelper.hxx | 1 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.cxx | 9 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.hxx | 1 |
4 files changed, 0 insertions, 18 deletions
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx index feede348af1c..1581d5202620 100644 --- a/canvas/source/directx/dx_spritedevicehelper.cxx +++ b/canvas/source/directx/dx_spritedevicehelper.cxx @@ -170,13 +170,6 @@ namespace dxcanvas return false; } - ::sal_Int32 SpriteDeviceHelper::createBuffers( ::sal_Int32 /*nBuffers*/ ) - { - // TODO(F3): implement XBufferStrategy interface. For now, we - // _always_ will have exactly one backbuffer - return 1; - } - 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 bd6ec175b96b..daced3bf34cf 100644 --- a/canvas/source/directx/dx_spritedevicehelper.hxx +++ b/canvas/source/directx/dx_spritedevicehelper.hxx @@ -67,7 +67,6 @@ namespace dxcanvas bool hasFullScreenMode( ); bool enterFullScreenMode( bool bEnter ); - ::sal_Int32 createBuffers( ::sal_Int32 nBuffers ); void destroyBuffers( ); sal_Bool showBuffer( bool bIsVisible, sal_Bool bUpdateAll ); sal_Bool switchBuffer( bool bIsVisible, sal_Bool bUpdateAll ); diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index 6e347b951063..7fedd462c687 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -59,15 +59,6 @@ namespace vclcanvas #endif } - ::sal_Int32 SpriteDeviceHelper::createBuffers( ::sal_Int32 nBuffers ) - { - (void)nBuffers; - - // TODO(F3): implement XBufferStrategy interface. For now, we - // _always_ will have exactly one backbuffer - return 1; - } - bool SpriteDeviceHelper::showBuffer( bool, bool ) { OSL_FAIL("Not supposed to be called, handled by SpriteCanvas"); diff --git a/canvas/source/vcl/spritedevicehelper.hxx b/canvas/source/vcl/spritedevicehelper.hxx index b2b980554916..c91355db174b 100644 --- a/canvas/source/vcl/spritedevicehelper.hxx +++ b/canvas/source/vcl/spritedevicehelper.hxx @@ -48,7 +48,6 @@ namespace vclcanvas /// Dispose all internal references void disposing(); - ::sal_Int32 createBuffers( ::sal_Int32 nBuffers ); bool showBuffer( bool bWindowVisible, bool bUpdateAll ); bool switchBuffer( bool bWindowVisible, bool bUpdateAll ); |