sw/source/filter/ww8/wrtw8sty.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit accebf15ae5d8f93399cbe93ea4e8ba22aedd5d2 Author: Michael Stahl <mst...@redhat.com> Date: Fri Nov 30 11:44:40 2012 +0100 wrtw8sty.cxx: convert anachronistic SvArray calls ... which came in via caaeb0a046a0c712224c21e3e8531e67efd4216f Change-Id: I76066f1847075e645f4847c9ce44a599ed8703f4 diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 8a898f0..f002c1f 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -1802,7 +1802,7 @@ bool WW8_WrPlcSepx::WriteKFTxt( WW8Export& rWrt ) void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const { - OSL_ENSURE(m_SectionAttributes.size() == static_cast<size_t>(aSects.Count()) + OSL_ENSURE(m_SectionAttributes.size() == static_cast<size_t>(aSects.size()) , "WriteSepx(): arrays out of sync!"); for (size_t i = 0; i < m_SectionAttributes.size(); i++) // all sections { @@ -1820,7 +1820,7 @@ void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const void WW8_WrPlcSepx::WritePlcSed( WW8Export& rWrt ) const { - OSL_ENSURE(m_SectionAttributes.size() == static_cast<size_t>(aSects.Count()) + OSL_ENSURE(m_SectionAttributes.size() == static_cast<size_t>(aSects.size()) , "WritePlcSed(): arrays out of sync!"); OSL_ENSURE( aCps.size() == aSects.size() + 1, "WrPlcSepx: DeSync" ); sal_uLong nFcStart = rWrt.pTableStrm->Tell(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits