summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-12 07:39:28 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-12 07:39:28 +0200
commitea1cd98307c3a6341d210a095976fc214dc6068c (patch)
tree8655a066ed98fe8a4f75c1d32cacc783b6672d8f /sw
parenta0b9baab6d77ef85e64527d6ddc23db2551a9505 (diff)
WaE: loplugin:literaltoboolconversion
Change-Id: Id953a15b3d6167a2983500d21a215662415bc074
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/laycache.cxx2
1 files changed, 1 insertions, 1 deletions
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();