diff options
author | Thorsten Behrens <thb@documentfoundation.org> | 2014-12-04 20:39:09 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2014-12-05 16:17:24 +0100 |
commit | 7d68c0f5ade7b7324b5a2d03bca042019dfd27f5 (patch) | |
tree | 7e07b126a48468e9c09a8ced6d48678993566da6 /canvas/source | |
parent | c17ca4c2088a7092733b67a509b5c0afb799c293 (diff) |
Slightly less verbose adaptation to boost-1.56.0
This fixes up 45dfbdca6a9afba1a6aef21623ec025ded635a4d
Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/cairo/cairo_spritecanvashelper.cxx | 3 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvashelper.cxx | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/canvas/source/cairo/cairo_spritecanvashelper.cxx b/canvas/source/cairo/cairo_spritecanvashelper.cxx index 741dbb3f12b6..3f638a894834 100644 --- a/canvas/source/cairo/cairo_spritecanvashelper.cxx +++ b/canvas/source/cairo/cairo_spritecanvashelper.cxx @@ -402,12 +402,11 @@ namespace cairocanvas ::basegfx::computeSetDifference( aUncoveredAreas, rUpdateArea.maTotalBounds, ::basegfx::B2DRange( rDestRect ) ); - SurfaceSharedPtr surface(mpOwningSpriteCanvas->getBufferSurface()); ::std::for_each( aUncoveredAreas.begin(), aUncoveredAreas.end(), ::boost::bind( &repaintBackground, boost::cref(pCompositingCairo), - boost::cref(surface), + mpOwningSpriteCanvas->getBufferSurface(), _1 ) ); cairo_rectangle( pWindowCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx index a4ad7fa349e6..037bc489fb22 100644 --- a/canvas/source/vcl/spritecanvashelper.cxx +++ b/canvas/source/vcl/spritecanvashelper.cxx @@ -573,12 +573,12 @@ namespace vclcanvas // repaint all affected sprites on top of background into // VDev. - ::basegfx::B2DPoint outPos( ::vcl::unotools::b2DPointFromPoint(aOutputPosition) ); ::std::for_each( rSortedUpdateSprites.begin(), rSortedUpdateSprites.end(), ::boost::bind( &spriteRedrawStub2, ::boost::ref( maVDev.get() ), - ::boost::cref( outPos ), + ::vcl::unotools::b2DPointFromPoint( + aOutputPosition), _1 ) ); // flush to screen |