From ea1cd98307c3a6341d210a095976fc214dc6068c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 12 Nov 2015 07:39:28 +0200 Subject: WaE: loplugin:literaltoboolconversion Change-Id: Id953a15b3d6167a2983500d21a215662415bc074 --- sw/source/core/layout/laycache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index 06b0f3f7c54b..b25f451f52e7 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -223,7 +223,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc ) assert(pTab && "Table follow without master"); } } - while (1) + while (true) { sal_uLong nNdIdx = pTab->GetTable()->GetTableNode()->GetIndex(); -- cgit