Kaydet (Commit) 203f7320 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

fix callgrind crash

after commit 96ef1973
    loplugin:useuniqueptr in SwTextPortion::CreateHyphen

Change-Id: Idb3b652c328ca20d049a1002088ded797f8ed098
Reviewed-on: https://gerrit.libreoffice.org/60517
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 2cdc870a
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment