sw/source/core/text/txthyph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 203f7320950346841931cc2525155f817987e279 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Sep 15 13:09:28 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Sep 15 14:11:28 2018 +0200 fix callgrind crash after commit 96ef1973d0309cc8a6aa9482f2fe35804f49c414 loplugin:useuniqueptr in SwTextPortion::CreateHyphen Change-Id: Idb3b652c328ca20d049a1002088ded797f8ed098 Reviewed-on: https://gerrit.libreoffice.org/60517 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx index cd8bc43f241a..de99588dcab3 100644 --- a/sw/source/core/text/txthyph.cxx +++ b/sw/source/core/text/txthyph.cxx @@ -331,7 +331,7 @@ bool SwTextPortion::CreateHyphen( SwTextFormatInfo &rInf, SwTextGuess const &rGu SetLen( aInf.GetLen() ); CalcTextSize( aInf ); - Insert( pHyphPor.get() ); + Insert( pHyphPor.release() ); short nKern = rInf.GetFont()->CheckKerning(); if( nKern ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits