diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-01 19:50:46 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-01 19:50:46 +0200 |
commit | ba1951f3d0ab18f38d71896480bf62312895327d (patch) | |
tree | da1559f2e916595becdbccccfc61969b70a83121 /sc | |
parent | 57f7595fef2d5626eb26680a4f102ac548743541 (diff) |
use isEmpty instead of getLength == 0
Change-Id: I755711cabae8e9a7b6f3d60658580a49fdebab8e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlsubti.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlsubti.cxx b/sc/source/filter/xml/xmlsubti.cxx index 7c48ad1f74a6..4d93a21b4f30 100644 --- a/sc/source/filter/xml/xmlsubti.cxx +++ b/sc/source/filter/xml/xmlsubti.cxx @@ -811,7 +811,7 @@ void ScMyTables::SetMatrix(const ScRange& rScRange, const rtl::OUString& rFormul aMark.SelectTable( rScRange.aStart.Tab(), sal_True ); ScTokenArray* pCode = new ScTokenArray; pCode->AddStringXML( rFormula ); - if( (eGrammar == formula::FormulaGrammar::GRAM_EXTERNAL) && (rFormulaNmsp.getLength() > 0) ) + if( (eGrammar == formula::FormulaGrammar::GRAM_EXTERNAL) && (!rFormulaNmsp.isEmpty() > 0) ) pCode->AddStringXML( rFormulaNmsp ); pDoc->InsertMatrixFormula( rScRange.aStart.Col(), rScRange.aStart.Row(), |