summaryrefslogtreecommitdiff
path: root/starmath/source/ooxmlexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/ooxmlexport.cxx')
-rw-r--r--starmath/source/ooxmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx
index 7e731fb717ca..e718a4ed7ca5 100644
--- a/starmath/source/ooxmlexport.cxx
+++ b/starmath/source/ooxmlexport.cxx
@@ -437,10 +437,10 @@ void SmOoxmlExport::HandleSubSupScriptInternal( const SmSubSupNode* pNode, int n
void SmOoxmlExport::HandleMatrix( const SmMatrixNode* pNode, int nLevel )
{
m_pSerializer->startElementNS( XML_m, XML_m, FSEND );
- for( int row = 0; row < pNode->GetNumRows(); ++row )
+ for (size_t row = 0; row < pNode->GetNumRows(); ++row)
{
m_pSerializer->startElementNS( XML_m, XML_mr, FSEND );
- for( int col = 0; col < pNode->GetNumCols(); ++col )
+ for (size_t col = 0; col < pNode->GetNumCols(); ++col)
{
m_pSerializer->startElementNS( XML_m, XML_e, FSEND );
if( const SmNode* node = pNode->GetSubNode( row * pNode->GetNumCols() + col ))