diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_spritecanvashelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_spritecanvashelper.cxx b/canvas/source/directx/dx_spritecanvashelper.cxx index db7f9352f2df..67f0d8184114 100644 --- a/canvas/source/directx/dx_spritecanvashelper.cxx +++ b/canvas/source/directx/dx_spritecanvashelper.cxx @@ -235,7 +235,7 @@ namespace dxcanvas mpBackBuffer->draw(aUpdateArea); // redraw sprites - mpRedrawManager->forEachSprite(::std::ptr_fun( &spriteRedraw ) ); + mpRedrawManager->forEachSprite( &spriteRedraw ); // flip primary surface to screen // ============================== @@ -290,7 +290,7 @@ namespace dxcanvas // are avoided. ::std::for_each( rUpdateArea.maComponentList.begin(), rUpdateArea.maComponentList.end(), - ::std::ptr_fun( &spriteRedrawStub2 ) ); + &spriteRedrawStub2 ); // repaint uncovered areas from backbuffer - take the // _rounded_ rectangles from above, to have the update @@ -328,7 +328,7 @@ namespace dxcanvas // buffer. ::std::for_each( rSortedUpdateSprites.begin(), rSortedUpdateSprites.end(), - ::std::ptr_fun( &spriteRedrawStub ) ); + &spriteRedrawStub ); // TODO(E1): Use numeric_cast to catch overflow here ::basegfx::B2IRange aActualArea( 0, 0, @@ -364,7 +364,7 @@ namespace dxcanvas ::std::for_each( rSortedUpdateSprites.begin(), rSortedUpdateSprites.end(), - ::std::ptr_fun( &spriteRedrawStub ) ); + &spriteRedrawStub ); // add given update area to the 'blit to foreground' rect maUpdateRect.expand( aActualArea ); |