diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 09:10:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:41 +0100 |
commit | df077447eecd148742c195d4bf0f624f3e51448a (patch) | |
tree | 6dc04863d7bbc9b3a45b58abf59c440988e77b57 /canvas | |
parent | 1145de8660691eb295a72fe8216092afdcde6d60 (diff) |
-Werror,-Wunused-function
Change-Id: I99246a9de5f266154f9927bff322a0a1697bcdee
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_9rm.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 1a6fc47555b5..9677d168f60c 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -263,27 +263,6 @@ namespace dxcanvas static sal_uInt32 gNumSurfaces = 0; #endif - void fillRect( sal_uInt32 *pDest, - sal_uInt32 dwWidth, - sal_uInt32 dwHeight, - sal_uInt32 dwPitch, - sal_uInt32 dwColor ) - { - for(sal_uInt32 i=0; i<dwWidth; ++i) - { - pDest[i]=dwColor; - pDest[((dwHeight-1)*dwPitch)+i]=dwColor; - } - - for(sal_uInt32 j=0; j<dwHeight; ++j) - { - pDest[0]=dwColor; - pDest[dwWidth-1]=dwColor; - pDest += dwPitch; - } - } - - // DXSurface::DXSurface |