summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-04 03:28:32 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-04 03:34:25 +0100
commitcf019c9a7baceec3b4dc849d7cba8923c6d2a425 (patch)
tree0efaf6184d3220f0d2f9408bb09a6e49d1f7a3c3
parent94f7417b038fad6f2a92d1c7c5f8f00c3e64711b (diff)
OSL_ENSURE -> SAL_WARN_IF in xmlcelli.cxx
Change-Id: Ia60e07dca17cbc728385c411f67bd3d9041b15ee
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index fac119169bd0..58919b087e20 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -1064,7 +1064,7 @@ void ScXMLTableRowCellContext::AddFormulaCell( const ScAddress& rCellPos )
if( cellExists(rCellPos) )
{
SetContentValidation( rCellPos );
- OSL_ENSURE(((nColsRepeated == 1) && (nRepeatedRows == 1)), "repeated cells with formula not possible now");
+ SAL_WARN_IF((nColsRepeated != 1) || (nRepeatedRows != 1), "sc", "repeated cells with formula not possible now");
rXMLImport.GetStylesImportHelper()->AddCell(rCellPos);
//add matrix