summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlcelli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.cxx')
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index 10e1049860d7..7c2c1903e877 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -1298,8 +1298,8 @@ OUString getOutputString( ScDocument* pDoc, const ScAddress& aCellPos )
return OUString();
case CELLTYPE_EDIT:
{
- // GetString an der EditCell macht Leerzeichen aus Umbruechen,
- // hier werden die Umbrueche aber gebraucht
+ // GetString on EditCell replaces linebreaks with spaces;
+ // however here we need line breaks
const EditTextObject* pData = pDoc->GetEditText(aCellPos);
if (pData)
{
@@ -1307,13 +1307,12 @@ OUString getOutputString( ScDocument* pDoc, const ScAddress& aCellPos )
rEngine.SetText(*pData);
return rEngine.GetText(LINEEND_LF);
}
- // Edit-Zellen auch nicht per NumberFormatter formatieren
- // (passend zur Ausgabe)
+ // also don't format EditCells per NumberFormatter
}
break;
default:
{
- // wie in GetString am Dokument (column)
+ // like in GetString for document (column)
Color* pColor;
sal_uLong nNumFmt = pDoc->GetNumberFormat(aCellPos);
return ScCellFormat::GetString(