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

Stephan Bergmann sbergman at redhat.com
Thu Jun 19 07:02:35 PDT 2014


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ca6fadad69ec74f413de40a880349490a5311d9c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 19 16:02:00 2014 +0200

    loplugin:literaltoboolconversion
    
    Change-Id: Ie21ec9cbdf88bd009368c09e49b9956cd001a5d3

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e7144c7..ebaaecb 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -376,7 +376,6 @@ bool DocxAttributeOutput::TextBoxIsFramePr(const SwFrmFmt& rFrmFmt)
     if (xPropertySet.is())
         xPropSetInfo = xPropertySet->getPropertySetInfo();
     uno::Any aFrameProperties ;
-    bool bFrameProperties = 0;
     if (xPropSetInfo.is() && xPropSetInfo->hasPropertyByName("FrameInteropGrabBag"))
     {
         uno::Sequence< beans::PropertyValue > propList;
@@ -391,6 +390,7 @@ bool DocxAttributeOutput::TextBoxIsFramePr(const SwFrmFmt& rFrmFmt)
             }
         }
     }
+    bool bFrameProperties = false;
     aFrameProperties >>= bFrameProperties;
     return bFrameProperties;
 }


More information about the Libreoffice-commits mailing list