diff options
Diffstat (limited to 'xmloff/source/text/txtparai.cxx')
-rw-r--r-- | xmloff/source/text/txtparai.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index d438400c4540..e5428059c198 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -200,27 +200,6 @@ XMLCharContext::XMLCharContext( XMLCharContext::~XMLCharContext() { } -void XMLCharContext::EndElement() -{ - if ( !m_nCount ) - InsertControlCharacter( m_nControl ); - else - { - if( 1U == m_nCount ) - { - OUString sBuff( &m_c, 1 ); - InsertString(sBuff); - } - else - { - OUStringBuffer sBuff(static_cast<int>(m_nCount)); - while( m_nCount-- ) - sBuff.append( &m_c, 1 ); - - InsertString(sBuff.makeStringAndClear() ); - } - } -} void XMLCharContext::endFastElement(sal_Int32 ) { if ( !m_nCount ) |