Kaydet (Commit) b02c52b4 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

use isEmpty instead of getLength

Change-Id: I9e5ce12776fcb31577a735296ab10b2c98c238f8
üst 7bc44705
......@@ -156,8 +156,8 @@ class ScMyStylesImportHelper
{
return ((pFirst && pSecond && pFirst->equals(*pSecond)) ||
(!pFirst && !pSecond) ||
(!pFirst && pSecond && !pSecond->getLength()) ||
(!pSecond && pFirst && !pFirst->getLength()));
(!pFirst && pSecond && pSecond->isEmpty()) ||
(!pSecond && pFirst && pFirst->isEmpty()));
}
public:
ScMyStylesImportHelper(ScXMLImport& rImport);
......
......@@ -19,7 +19,6 @@
#ifndef SC_XMLCELLI_HXX
#define SC_XMLCELLI_HXX
#include <memory>
#include "XMLDetectiveContext.hxx"
#include "XMLCellRangeSourceContext.hxx"
#include <xmloff/xmlictxt.hxx>
......@@ -27,6 +26,7 @@
#include "formula/grammar.hxx"
#include <boost/optional.hpp>
#include <boost/scoped_ptr.hpp>
class ScXMLImport;
class ScFormulaCell;
......@@ -39,7 +39,7 @@ class ScXMLTableRowCellContext : public SvXMLImportContext
::boost::optional< rtl::OUString > pOUTextContent;
::boost::optional< FormulaWithNamespace > pOUFormula;
rtl::OUString* pContentValidationName;
::std::auto_ptr< ScXMLAnnotationData > mxAnnotationData;
boost::scoped_ptr< ScXMLAnnotationData > mxAnnotationData;
ScMyImpDetectiveObjVec* pDetectiveObjVec;
ScMyImpCellRangeSource* pCellRangeSource;
double fValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment