diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/storagehelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index 102766778f95..3b191f956866 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -152,7 +152,7 @@ namespace comphelper { caught >>= exception; SAL_WARN( "comphelper", "caught an exception!\ntype : " << caught.getValueTypeName() << "\nmessage: " << exception - << "\nin function:\n" << OSL_THIS_FUNC); + << "\nin function:\n" << __func__); } return sTitle; diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx index 01cec5831223..9c2f47444513 100644 --- a/comphelper/source/misc/storagehelper.cxx +++ b/comphelper/source/misc/storagehelper.cxx @@ -284,7 +284,7 @@ sal_Int32 OStorageHelper::GetXStorageFormat( else { // the mediatype is not known - OUString aMsg = OUStringLiteral(OSL_THIS_FUNC) + OUString aMsg = OUStringLiteral(__func__) + ":" + OUString::number(__LINE__) + ": unknown media type '" |