From e9a2e0460e3941e9741b368eeaf58b5afbae09bf Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 30 Jan 2016 16:06:11 +0000 Subject: OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use that MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- slideshow/inc/pch/precompiled_slideshow.hxx | 1 - slideshow/source/engine/rehearsetimingsactivity.cxx | 1 - slideshow/source/engine/transitions/transitionfactorytab.cxx | 1 - slideshow/source/engine/waitsymbol.cxx | 1 - slideshow/source/inc/delayevent.hxx | 4 ++-- slideshow/source/inc/tools.hxx | 6 +++--- 6 files changed, 5 insertions(+), 9 deletions(-) (limited to 'slideshow') diff --git a/slideshow/inc/pch/precompiled_slideshow.hxx b/slideshow/inc/pch/precompiled_slideshow.hxx index 8af7a5af9afd..8d36b9675164 100644 --- a/slideshow/inc/pch/precompiled_slideshow.hxx +++ b/slideshow/inc/pch/precompiled_slideshow.hxx @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx b/slideshow/source/engine/rehearsetimingsactivity.cxx index 18ff749ef7d7..1380dbaf0d31 100644 --- a/slideshow/source/engine/rehearsetimingsactivity.cxx +++ b/slideshow/source/engine/rehearsetimingsactivity.cxx @@ -18,7 +18,6 @@ */ -#include #include #include #include diff --git a/slideshow/source/engine/transitions/transitionfactorytab.cxx b/slideshow/source/engine/transitions/transitionfactorytab.cxx index b17cd6626aa5..8f10a551d219 100644 --- a/slideshow/source/engine/transitions/transitionfactorytab.cxx +++ b/slideshow/source/engine/transitions/transitionfactorytab.cxx @@ -18,7 +18,6 @@ */ -#include #include #include #include diff --git a/slideshow/source/engine/waitsymbol.cxx b/slideshow/source/engine/waitsymbol.cxx index 5e4209ab8d51..e278d609c464 100644 --- a/slideshow/source/engine/waitsymbol.cxx +++ b/slideshow/source/engine/waitsymbol.cxx @@ -18,7 +18,6 @@ */ -#include #include #include diff --git a/slideshow/source/inc/delayevent.hxx b/slideshow/source/inc/delayevent.hxx index 8cf7c5c6aecd..2e99ab711004 100644 --- a/slideshow/source/inc/delayevent.hxx +++ b/slideshow/source/inc/delayevent.hxx @@ -126,10 +126,10 @@ inline EventSharedPtr makeDelay_( } #define makeDelay(f, t, d) makeDelay_(f, t, \ - BOOST_CURRENT_FUNCTION, __FILE__, __LINE__, \ + OSL_THIS_FUNC, __FILE__, __LINE__, \ d) #define makeEvent(f, d) makeDelay_(f, 0.0, \ - BOOST_CURRENT_FUNCTION, __FILE__, __LINE__, \ + OSL_THIS_FUNC, __FILE__, __LINE__, \ d) #endif // OSL_DEBUG_LEVEL <= 1 diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx index e518cfcf10b6..8075743d3ad4 100644 --- a/slideshow/source/inc/tools.hxx +++ b/slideshow/source/inc/tools.hxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -37,7 +38,6 @@ #include "hslcolor.hxx" #include -#include #include #include @@ -323,7 +323,7 @@ namespace slideshow OSL_TRACE( "%s: while retrieving property %s, cannot extract Any of type %s\n", OUStringToOString( propName, RTL_TEXTENCODING_ASCII_US ).getStr(), - BOOST_CURRENT_FUNCTION, + OSL_THIS_FUNC, OUStringToOString( a.getValueTypeRef()->pTypeName, RTL_TEXTENCODING_ASCII_US ).getStr() ); #endif @@ -356,7 +356,7 @@ namespace slideshow OSL_TRACE( "%s: while retrieving property %s, cannot extract Any of type %s to interface\n", OUStringToOString( propName, RTL_TEXTENCODING_ASCII_US ).getStr(), - BOOST_CURRENT_FUNCTION, + OSL_THIS_FUNC, OUStringToOString( a.getValueTypeRef()->pTypeName, RTL_TEXTENCODING_ASCII_US ).getStr() ); #endif -- cgit