diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/pch/precompiled_comphelper.hxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 5 | ||||
-rw-r--r-- | comphelper/source/misc/storagehelper.cxx | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/comphelper/inc/pch/precompiled_comphelper.hxx b/comphelper/inc/pch/precompiled_comphelper.hxx index 92f700935906..95cf1c51e764 100644 --- a/comphelper/inc/pch/precompiled_comphelper.hxx +++ b/comphelper/inc/pch/precompiled_comphelper.hxx @@ -38,7 +38,6 @@ #include <unordered_map> #include <utility> #include <vector> -#include <boost/current_function.hpp> #include <boost/functional/hash.hpp> #include <boost/noncopyable.hpp> #include <boost/optional.hpp> diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index 9a2d6e819334..a30b041a0c8f 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -32,9 +32,6 @@ #include <osl/diagnose.h> #include <osl/thread.h> -#include <boost/current_function.hpp> - - namespace comphelper { @@ -162,7 +159,7 @@ namespace comphelper { caught >>= exception; sMessage += OString( exception.Message.getStr(), exception.Message.getLength(), osl_getThreadTextEncoding() ); sMessage += "\nin function:\n"; - sMessage += BOOST_CURRENT_FUNCTION; + sMessage += OSL_THIS_FUNC; sMessage += "\n"; OSL_FAIL( sMessage.getStr() ); } diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx index bc83276a3a14..4e7a035b9e2c 100644 --- a/comphelper/source/misc/storagehelper.cxx +++ b/comphelper/source/misc/storagehelper.cxx @@ -46,8 +46,6 @@ #include <comphelper/documentconstants.hxx> #include <comphelper/storagehelper.hxx> -#include <boost/current_function.hpp> - using namespace ::com::sun::star; namespace comphelper { @@ -277,7 +275,7 @@ sal_Int32 OStorageHelper::GetXStorageFormat( else { // the mediatype is not known - OUString aMsg(BOOST_CURRENT_FUNCTION); + OUString aMsg(OSL_THIS_FUNC); aMsg += ":"; aMsg += OUString::number(__LINE__); aMsg += ": unknown media type '"; |