Kaydet (Commit) accebf15 authored tarafından Michael Stahl's avatar Michael Stahl

wrtw8sty.cxx: convert anachronistic SvArray calls

... which came in via caaeb0a0

Change-Id: I76066f1847075e645f4847c9ce44a599ed8703f4
üst 5189b345
...@@ -1802,7 +1802,7 @@ bool WW8_WrPlcSepx::WriteKFTxt( WW8Export& rWrt ) ...@@ -1802,7 +1802,7 @@ bool WW8_WrPlcSepx::WriteKFTxt( WW8Export& rWrt )
void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const 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!"); , "WriteSepx(): arrays out of sync!");
for (size_t i = 0; i < m_SectionAttributes.size(); i++) // all sections for (size_t i = 0; i < m_SectionAttributes.size(); i++) // all sections
{ {
...@@ -1820,7 +1820,7 @@ void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const ...@@ -1820,7 +1820,7 @@ void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const
void WW8_WrPlcSepx::WritePlcSed( WW8Export& rWrt ) 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!"); , "WritePlcSed(): arrays out of sync!");
OSL_ENSURE( aCps.size() == aSects.size() + 1, "WrPlcSepx: DeSync" ); OSL_ENSURE( aCps.size() == aSects.size() + 1, "WrPlcSepx: DeSync" );
sal_uLong nFcStart = rWrt.pTableStrm->Tell(); sal_uLong nFcStart = rWrt.pTableStrm->Tell();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment