summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-14 08:48:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-14 08:48:25 +0100
commit658c66882f76885d5b0df88e254740e499dcaf4c (patch)
treeaaff2f5f01080db66e79ba3e1e30047dd2d87fbf /lotuswordpro/source
parent6fb1da55085ec37ca6ffde5d9bbc73585b26dee5 (diff)
loplugin:literaltoboolconversion
Change-Id: I9048966bd41e79bb7a2e9bd24c1dc611acefef1f
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/lwpcontent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpcontent.cxx b/lotuswordpro/source/filter/lwpcontent.cxx
index 61a03b90e4b2..dc10225b8267 100644
--- a/lotuswordpro/source/filter/lwpcontent.cxx
+++ b/lotuswordpro/source/filter/lwpcontent.cxx
@@ -129,7 +129,7 @@ rtl::Reference<LwpVirtualLayout> LwpContent::GetLayout(LwpVirtualLayout* pStartL
bool LwpContent::HasNonEmbeddedLayouts()
{
rtl::Reference<LwpVirtualLayout> xLayout;
- while (1)
+ while (true)
{
xLayout = GetLayout(xLayout.get());
if (!xLayout.is())
@@ -143,7 +143,7 @@ bool LwpContent::HasNonEmbeddedLayouts()
bool LwpContent::IsStyleContent()
{
rtl::Reference<LwpVirtualLayout> xLayout;
- while (1)
+ while (true)
{
xLayout = GetLayout(xLayout.get());
if (!xLayout.is())