[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Sep 15 12:11:52 UTC 2018
sw/source/core/text/txthyph.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 203f7320950346841931cc2525155f817987e279
Author: Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sat Sep 15 13:09:28 2018 +0200
Commit: Noel Grandin <noel.grandin at 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.grandin at 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 )
More information about the Libreoffice-commits
mailing list