svx/source/svdraw/svdotextdecomposition.cxx | 2 +- svx/source/svdraw/svdotextpathdecomposition.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit dc9dcb5c00503a8b82f7f6cc73097332ea3b802b Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Tue Nov 5 12:39:22 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Nov 6 08:24:15 2024 +0100 loplugin:redundantcast ...after 11b15571475414ef853e21a6c96afa2ac81f848f "convert KernArray from sal_Int32 to double" Change-Id: I61e7f25f1e1b1493d1f1164f96e09eb3ba14baa8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176052 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx index 2c04df143f8e..9d2fe097a84a 100644 --- a/svx/source/svdraw/svdotextdecomposition.cxx +++ b/svx/source/svdraw/svdotextdecomposition.cxx @@ -299,7 +299,7 @@ namespace aDXArray.reserve(rInfo.mnTextLen); for(sal_Int32 a=0; a < rInfo.mnTextLen; a++) { - aDXArray.push_back(static_cast<double>(rInfo.mpDXArray[a])); + aDXArray.push_back(rInfo.mpDXArray[a]); } } diff --git a/svx/source/svdraw/svdotextpathdecomposition.cxx b/svx/source/svdraw/svdotextpathdecomposition.cxx index 0918528ce310..cc14d78c47ac 100644 --- a/svx/source/svdraw/svdotextpathdecomposition.cxx +++ b/svx/source/svdraw/svdotextpathdecomposition.cxx @@ -81,7 +81,7 @@ namespace for(sal_Int32 a=0; a < mnTextLength; a++) { - maDblDXArray.push_back(static_cast<double>(rInfo.mpDXArray[a])); + maDblDXArray.push_back(rInfo.mpDXArray[a]); } } }