diff options
author | Liu Hao <ianahao331@gmail.com> | 2022-08-15 18:07:07 +0800 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2022-08-19 17:23:59 +0200 |
commit | 466f86abb7208e853ad48ae46e97a2455667fa42 (patch) | |
tree | e665c0711d1676f61331c16d323e5153a5fa4eee /extensions | |
parent | 6e97fcf162b8495f0584f0bb67d020b3f3754780 (diff) |
tdf#148430 Use std math functions instead of rtl::math
Change-Id: I6bcb33d51c3974d0e8905e1ffeac556a99870aab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138294
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/scanner/grid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 110779c55080..c727c8c92a5a 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -648,7 +648,7 @@ void GridWindow::ChangeMode(ResetType nType) { for( int i = 0; i < m_nValues; i++ ) { - m_pNewYValues[ i ] = m_fMinY + (m_fMaxY-m_fMinY)*(rtl::math::expm1((m_pXValues[i]-m_fMinX)/(m_fMaxX-m_fMinX)))/(M_E-1.0); + m_pNewYValues[ i ] = m_fMinY + (m_fMaxY-m_fMinY)*(std::expm1((m_pXValues[i]-m_fMinX)/(m_fMaxX-m_fMinX)))/(M_E-1.0); } } break; |