diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 08:52:34 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 08:52:40 +0200 |
commit | 6031d34ec26b988853c4b317945b3b4256813cbc (patch) | |
tree | 37732eeceb93e6b8d4ba7e1f7b21a5e6a769cc77 /starmath/source/ooxmlexport.cxx | |
parent | d8919a1bcca1aa0b18634be918f6bf08c6c55a3f (diff) |
Math: OSL_FAIL -> SAL_WARN
And some cleanup.
Change-Id: I2e5239a6f7d0dca5855b80752deae6be27c21af6
Diffstat (limited to 'starmath/source/ooxmlexport.cxx')
-rw-r--r-- | starmath/source/ooxmlexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx index c7ab7ff5bed4..8d1c80809a71 100644 --- a/starmath/source/ooxmlexport.cxx +++ b/starmath/source/ooxmlexport.cxx @@ -315,7 +315,7 @@ void SmOoxmlExport::HandleOperator( const SmOperNode* pNode, int nLevel ) m_pSerializer->endElementNS( XML_m, XML_func ); break; default: - OSL_FAIL( "Unhandled operation" ); + SAL_WARN("starmath.ooxml", "Unhandled operation"); HandleAllSubNodes( pNode, nLevel ); break; } @@ -425,7 +425,7 @@ void SmOoxmlExport::HandleSubSupScriptInternal( const SmSubSupNode* pNode, int n } else { - OSL_FAIL( "Unhandled sub/sup combination" ); + SAL_WARN("starmath.ooxml", "Unhandled sub/sup combination"); // TODO do not do anything, this should be probably an assert() // HandleAllSubNodes( pNode, nLevel ); } @@ -523,7 +523,7 @@ void SmOoxmlExport::HandleVerticalBrace( const SmVerticalBraceNode* pNode, int n break; } default: - OSL_FAIL( "Unhandled vertical brace" ); + SAL_WARN("starmath.ooxml", "Unhandled vertical brace"); HandleAllSubNodes( pNode, nLevel ); break; } |