[Libreoffice-commits] core.git: sw/source
Takeshi Abe
tabe at fixedpoint.jp
Wed Aug 24 04:21:33 UTC 2016
sw/source/core/text/itrform2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd64e9ea7a36e6169a4419ff3e737e2759df2625
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Wed Aug 24 13:14:13 2016 +0900
loplugin:nullptr
Change-Id: I565c774d24bf52d33ea3ed37fa397f835de5875c
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index 4fe661a..194f3f4 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -676,7 +676,7 @@ void SwTextFormatter::BuildPortions( SwTextFormatInfo &rInf )
if( !pPor->IsDropPortion() )
{
SwLinePortion *pPrev = rInf.GetLast() ? rInf.GetLast()->FindLastPortion() : nullptr;
- for ( SwLinePortion *pNext = pPor ; pNext!= NULL ; pNext=pNext->GetPortion())
+ for ( SwLinePortion *pNext = pPor ; pNext!= nullptr ; pNext=pNext->GetPortion())
{
if ( !pNext->IsParaPortion() )
MergeCharacterBorder(*pNext, pPrev, rInf);
More information about the Libreoffice-commits
mailing list