summaryrefslogtreecommitdiff
path: root/slideshow/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-30 16:06:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-31 12:29:07 +0000
commite9a2e0460e3941e9741b368eeaf58b5afbae09bf (patch)
tree6d6d0cc3a1f98560ca479d301c629a04c9a1de91 /slideshow/source/inc
parent1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d (diff)
OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use that
as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'slideshow/source/inc')
-rw-r--r--slideshow/source/inc/delayevent.hxx4
-rw-r--r--slideshow/source/inc/tools.hxx6
2 files changed, 5 insertions, 5 deletions
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 <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <comphelper/random.hxx>
+#include <osl/diagnose.h>
#include <vector>
#include <cppcanvas/color.hxx>
@@ -37,7 +38,6 @@
#include "hslcolor.hxx"
#include <boost/shared_ptr.hpp>
-#include <boost/current_function.hpp>
#include <functional>
#include <cstdlib>
@@ -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