Kaydet (Commit) df077447 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-function

Change-Id: I99246a9de5f266154f9927bff322a0a1697bcdee
üst 1145de86
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment