From 22ebafe8897239696f46df6f093054d16285004a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 24 Nov 2015 22:07:03 +0100 Subject: Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984 --- sc/source/filter/oox/richstring.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/filter/oox/richstring.cxx b/sc/source/filter/oox/richstring.cxx index b4158764cfb1..7484bbfe1b82 100644 --- a/sc/source/filter/oox/richstring.cxx +++ b/sc/source/filter/oox/richstring.cxx @@ -375,7 +375,7 @@ bool RichString::extractPlainString( OUString& orString, const oox::xls::Font* p if( (maTextPortions.size() == 1) && !maTextPortions.front()->hasFont() && !lclNeedsRichTextFormat( pFirstPortionFont ) ) { orString = maTextPortions.front()->getText(); - return orString.indexOf( '\x0A' ) < 0; + return orString.indexOf( '\x0A' ) < 0 && orString.indexOf( '\x0D' ) < 0; } return false; } -- cgit