diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-30 11:44:40 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-30 11:46:21 +0100 |
commit | accebf15ae5d8f93399cbe93ea4e8ba22aedd5d2 (patch) | |
tree | bf21b810da9d5c39e8794ad5ffb624089efc15ac /sw | |
parent | 5189b345329c91113db247fbc95bce43efb42078 (diff) |
wrtw8sty.cxx: convert anachronistic SvArray calls
... which came in via caaeb0a046a0c712224c21e3e8531e67efd4216f
Change-Id: I76066f1847075e645f4847c9ce44a599ed8703f4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 8a898f0cba0a..f002c1ff4226 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(); |