summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xecontent.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-26 23:45:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-28 15:14:35 +0100
commit381fe610a2216b898a91437fcc1330a7a43ef09f (patch)
treed81dbb8951a0aa209a4f3a201497e22bdee53c90 /sc/source/filter/excel/xecontent.cxx
parent79bc947773f5c083f5245a81b9e54117add9fa88 (diff)
workaround Excel bug when importing OOXML documents
Change-Id: Ifc3b56d081b1318a0e201cb6cd7fd85ce2dc2534
Diffstat (limited to 'sc/source/filter/excel/xecontent.cxx')
-rw-r--r--sc/source/filter/excel/xecontent.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index d03afa825724..3f0c5923b523 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -784,7 +784,7 @@ namespace {
const char* GetOperatorString(ScConditionMode eMode, bool& bFrmla2)
{
- const char *pRet = "";
+ const char *pRet = NULL;
switch(eMode)
{
case SC_COND_EQUAL:
@@ -824,7 +824,6 @@ const char* GetOperatorString(ScConditionMode eMode, bool& bFrmla2)
break;
case SC_COND_NONE:
default:
- pRet = "equal";
break;
}
return pRet;
@@ -1194,7 +1193,6 @@ void XclExpCondfmt::SaveXml( XclExpXmlStream& rStrm )
maCFList.SaveXml( rStrm );
- // OOXTODO: XML_extLst
rWorksheet->endElement( XML_conditionalFormatting );
}
@@ -1236,8 +1234,6 @@ void XclExpColorScale::SaveXml( XclExpXmlStream& rStrm )
rWorksheet->endElement( XML_colorScale );
rWorksheet->endElement( XML_cfRule );
-
- // OOXTODO: XML_extLst
}
namespace {
@@ -1327,9 +1323,6 @@ void XclExpDataBar::SaveXml( XclExpXmlStream& rStrm )
rWorksheet->endElement( XML_extLst );
rWorksheet->endElement( XML_cfRule );
-
- // OOXTODO: XML_extLst
-
}
XclExpIconSet::XclExpIconSet( const XclExpRoot& rRoot, const ScIconSetFormat& rFormat, sal_Int32 nPriority ):
@@ -1384,9 +1377,6 @@ void XclExpIconSet::SaveXml( XclExpXmlStream& rStrm )
rWorksheet->endElement( XML_iconSet );
rWorksheet->endElement( XML_cfRule );
-
- // OOXTODO: XML_extLst
-
}
// ----------------------------------------------------------------------------