diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-19 16:02:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-19 16:02:00 +0200 |
commit | ca6fadad69ec74f413de40a880349490a5311d9c (patch) | |
tree | 18a688c79954ed8cba285e4fcedeac13b05863b3 | |
parent | 1f3f725a29412b49ac8ded7b425674ef10afc7b3 (diff) |
loplugin:literaltoboolconversion
Change-Id: Ie21ec9cbdf88bd009368c09e49b9956cd001a5d3
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index e7144c715b28..ebaaecb97aae 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; } |