diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-26 15:44:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-26 20:49:22 +0200 |
commit | e5356fb099d5fe0d476fa99697e4a7e04688f9ee (patch) | |
tree | 8e551a762d03451896315507b68d72551c1bc6b6 /starmath | |
parent | d84e590486e2c26212931de80a84181d7aca7bbe (diff) |
[API CHANGE] Drop OSL_THIS_FUNC, directly use C++11 __func__
It had been documented as "the macro OSL_THIS_FUNC is intended to be an office
internal macro for now", so take the liberty of removing it, even if technically
that can be considered an incompatible API change.
Change-Id: I7580a932e1da54845934378a650e894f3f3a9062
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101406
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/rtfexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx index 90a13f3ce1f4..685a31ec7ef1 100644 --- a/starmath/source/rtfexport.cxx +++ b/starmath/source/rtfexport.cxx @@ -269,7 +269,7 @@ void SmRtfExport::HandleOperator(const SmOperNode* pNode, int nLevel) m_pBuffer->append("}"); // mfunc break; default: - SAL_INFO("starmath.rtf", "TODO: " << OSL_THIS_FUNC << " unhandled oper type"); + SAL_INFO("starmath.rtf", "TODO: " << __func__ << " unhandled oper type"); break; } } @@ -383,7 +383,7 @@ void SmRtfExport::HandleSubSupScriptInternal(const SmSubSupNode* pNode, int nLev m_pBuffer->append("}"); // mlimUpp } else - SAL_INFO("starmath.rtf", "TODO: " << OSL_THIS_FUNC << " unhandled subsup type"); + SAL_INFO("starmath.rtf", "TODO: " << __func__ << " unhandled subsup type"); } void SmRtfExport::HandleMatrix(const SmMatrixNode* pNode, int nLevel) @@ -490,7 +490,7 @@ void SmRtfExport::HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLev break; } default: - SAL_INFO("starmath.rtf", "TODO: " << OSL_THIS_FUNC << " unhandled vertical brace type"); + SAL_INFO("starmath.rtf", "TODO: " << __func__ << " unhandled vertical brace type"); break; } } |