Kaydet (Commit) 22ebafe8 authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A

Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984
üst 87199d38
...@@ -375,7 +375,7 @@ bool RichString::extractPlainString( OUString& orString, const oox::xls::Font* p ...@@ -375,7 +375,7 @@ bool RichString::extractPlainString( OUString& orString, const oox::xls::Font* p
if( (maTextPortions.size() == 1) && !maTextPortions.front()->hasFont() && !lclNeedsRichTextFormat( pFirstPortionFont ) ) if( (maTextPortions.size() == 1) && !maTextPortions.front()->hasFont() && !lclNeedsRichTextFormat( pFirstPortionFont ) )
{ {
orString = maTextPortions.front()->getText(); orString = maTextPortions.front()->getText();
return orString.indexOf( '\x0A' ) < 0; return orString.indexOf( '\x0A' ) < 0 && orString.indexOf( '\x0D' ) < 0;
} }
return false; return false;
} }
......
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