[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Tue Nov 24 15:57:57 PST 2015
sc/source/filter/oox/richstring.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7289a140fc68dc898ba2b2357cc960968195f236
Author: Eike Rathke <erack at redhat.com>
Date: Wed Nov 25 00:48:39 2015 +0100
Revert "Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A"
This reverts commit 22ebafe8897239696f46df6f093054d16285004a.
It seems to break various sc.subsequentcheck targets.
diff --git a/sc/source/filter/oox/richstring.cxx b/sc/source/filter/oox/richstring.cxx
index 7484bbf..b415876 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 && orString.indexOf( '\x0D' ) < 0;
+ return orString.indexOf( '\x0A' ) < 0;
}
return false;
}
More information about the Libreoffice-commits
mailing list