[Libreoffice-commits] core.git: lotuswordpro/source

Stephan Bergmann sbergman at redhat.com
Sun Dec 13 23:49:10 PST 2015


 lotuswordpro/source/filter/lwpcontent.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 658c66882f76885d5b0df88e254740e499dcaf4c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 14 08:48:25 2015 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: I9048966bd41e79bb7a2e9bd24c1dc611acefef1f

diff --git a/lotuswordpro/source/filter/lwpcontent.cxx b/lotuswordpro/source/filter/lwpcontent.cxx
index 61a03b9..dc10225 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())


More information about the Libreoffice-commits mailing list