svx/source/svdraw/svdattr.cxx | 2 +- svx/source/svdraw/svdtrans.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit de93cab9ba01d5bd8ebbfe8be09789ec0b7a7ea0 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Oct 10 09:29:16 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Oct 10 10:23:24 2019 +0200 x.insert(x.getLength() -> x.append Change-Id: I865dbca65a5b29e35f90070dc743c42289598d9d Reviewed-on: https://gerrit.libreoffice.org/80588 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index 528af23ac7e1..c9977fd44ff1 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -818,7 +818,7 @@ bool SdrAngleItem::GetPresentation( aText.insert(0, '-'); } - aText.insert(aText.getLength(), sal_Unicode(DEGREE_CHAR)); + aText.append(sal_Unicode(DEGREE_CHAR)); if(ePres == SfxItemPresentation::Complete) { diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 49e6f0cf2929..af98fec68d0c 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -828,7 +828,7 @@ OUString SdrFormatter::GetStr(long nVal) const } if(aStr.isEmpty()) - aStr.insert(aStr.getLength(), aNullCode); + aStr.append(aNullCode); if(bNeg && (aStr.getLength() > 1 || aStr[0] != aNullCode[0])) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits