diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-27 21:44:49 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-28 10:10:27 +0100 |
commit | d01f7db4b5f51d1be8ba210625f4ad1ebf5c6e8f (patch) | |
tree | 16dbcabe74791a6882d2bae87c04ff929061064b /canvas | |
parent | 8b1fc9108fdc114d65a2a116bd88081dcb39dbaa (diff) |
canvas: replace BOOST_CURRENT_FUNCTION with __func__
Change-Id: I384472894288081423ae9467cc439b10d637f6e0
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper_text.cxx | 2 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_canvascustomsprite.cxx | 2 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_spritedevicehelper.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvashelper.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx index 6f37f7f310b2..3d975cba0e56 100644 --- a/canvas/source/cairo/cairo_canvashelper_text.cxx +++ b/canvas/source/cairo/cairo_canvashelper_text.cxx @@ -118,7 +118,7 @@ namespace cairocanvas ColorType eColorType ) { ::canvas::tools::verifyInput( renderState, - BOOST_CURRENT_FUNCTION, + __func__, const_cast<rendering::XCanvas*>(pOwner), // only for refcount 2, eColorType == IGNORE_COLOR ? 0 : 3 ); diff --git a/canvas/source/opengl/ogl_canvascustomsprite.cxx b/canvas/source/opengl/ogl_canvascustomsprite.cxx index b410c561ba8d..71705347ad5b 100644 --- a/canvas/source/opengl/ogl_canvascustomsprite.cxx +++ b/canvas/source/opengl/ogl_canvascustomsprite.cxx @@ -73,7 +73,7 @@ namespace oglcanvas uno::RuntimeException, std::exception) { canvas::tools::verifyArgs(aNewPos, viewState, renderState, - BOOST_CURRENT_FUNCTION, + __func__, static_cast< ::cppu::OWeakObject* >(this)); ::osl::MutexGuard aGuard( m_aMutex ); diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index 0932e0cfc8f9..e1ebe431bc86 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -380,7 +380,7 @@ namespace oglcanvas void SpriteDeviceHelper::dumpScreenContent() const { - SAL_INFO("canvas.ogl", BOOST_CURRENT_FUNCTION ); + SAL_INFO("canvas.ogl", __func__); } void SpriteDeviceHelper::show( const ::rtl::Reference< CanvasCustomSprite >& xSprite ) diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index bee83b1af78f..441590bcb51e 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -677,7 +677,7 @@ namespace vclcanvas "bitmap is NULL"); ::canvas::tools::verifyInput( renderState, - BOOST_CURRENT_FUNCTION, + __func__, mpDevice, 4, bModulateColors ? 3 : 0 ); @@ -1195,7 +1195,7 @@ namespace vclcanvas "outdev null. Are we disposed?" ); ::canvas::tools::verifyInput( renderState, - BOOST_CURRENT_FUNCTION, + __func__, mpDevice, 2, eColorType == IGNORE_COLOR ? 0 : 3 ); |