diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-13 17:16:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-13 17:19:12 +0200 |
commit | bbcbfd515b188f641abcc80307a7213baf6a76a1 (patch) | |
tree | 709cb683d9b97abb9603d12587489817fb9bc079 | |
parent | a8525fe5cf2ba834ae39e7bfe078911d94957a70 (diff) |
[loplugin:implicitboolconversion]
Change-Id: Icb50487eb466f547f6b382155f6ce9099fb32aaa
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index fc0a988beffa..67a6710a5482 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -887,7 +887,7 @@ int RTFDocumentImpl::resolvePict(bool const bInline, uno::Reference<drawing::XSh // wrap sprm RTFSprms aAnchorWrapAttributes; RTFSprms aAnchorAttributes; - aAnchorAttributes.set(NS_ooxml::LN_CT_Anchor_behindDoc, RTFValue::Pointer_t(new RTFValue(m_aStates.top().aShape.bInBackground))); + aAnchorAttributes.set(NS_ooxml::LN_CT_Anchor_behindDoc, RTFValue::Pointer_t(new RTFValue((m_aStates.top().aShape.bInBackground) ? 1 : 0))); RTFSprms aAnchorSprms; for (RTFSprms::Iterator_t i = m_aStates.top().aCharacterAttributes.begin(); i != m_aStates.top().aCharacterAttributes.end(); ++i) { |