remove unused cdeo from ScCellValue
Specifically: ScCellValue::ScCellValue(EditTextObject const&) ScCellValue::ScCellValue(ScFormulaCell const&) ScCellValue::hasNumeric() const ScCellValue::hasString() const ScCellValue::set(ScFormulaCell const&) Change-Id: Ief8c07d6e2c7df6c6037fb3e59c00c37e3e0a49a
This commit is contained in:
@@ -43,8 +43,6 @@ struct SC_DLLPUBLIC ScCellValue
|
|||||||
ScCellValue( const ScRefCellValue& rCell );
|
ScCellValue( const ScRefCellValue& rCell );
|
||||||
ScCellValue( double fValue );
|
ScCellValue( double fValue );
|
||||||
ScCellValue( const svl::SharedString& rString );
|
ScCellValue( const svl::SharedString& rString );
|
||||||
ScCellValue( const EditTextObject& rEditText );
|
|
||||||
ScCellValue( const ScFormulaCell& rFormula );
|
|
||||||
ScCellValue( const ScCellValue& r );
|
ScCellValue( const ScCellValue& r );
|
||||||
~ScCellValue();
|
~ScCellValue();
|
||||||
|
|
||||||
@@ -54,7 +52,6 @@ struct SC_DLLPUBLIC ScCellValue
|
|||||||
void set( double fValue );
|
void set( double fValue );
|
||||||
void set( const svl::SharedString& rStr );
|
void set( const svl::SharedString& rStr );
|
||||||
void set( const EditTextObject& rEditText );
|
void set( const EditTextObject& rEditText );
|
||||||
void set( const ScFormulaCell& rFormula );
|
|
||||||
void set( ScFormulaCell* pFormula );
|
void set( ScFormulaCell* pFormula );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -80,10 +77,6 @@ struct SC_DLLPUBLIC ScCellValue
|
|||||||
|
|
||||||
void release( ScColumn& rColumn, SCROW nRow );
|
void release( ScColumn& rColumn, SCROW nRow );
|
||||||
|
|
||||||
bool hasString() const;
|
|
||||||
|
|
||||||
bool hasNumeric() const;
|
|
||||||
|
|
||||||
bool isEmpty() const;
|
bool isEmpty() const;
|
||||||
|
|
||||||
bool equalsWithoutFormat( const ScCellValue& r ) const;
|
bool equalsWithoutFormat( const ScCellValue& r ) const;
|
||||||
|
@@ -177,9 +177,8 @@ ScCellValue::ScCellValue( const ScRefCellValue& rCell ) : meType(rCell.meType),
|
|||||||
}
|
}
|
||||||
|
|
||||||
ScCellValue::ScCellValue( double fValue ) : meType(CELLTYPE_VALUE), mfValue(fValue) {}
|
ScCellValue::ScCellValue( double fValue ) : meType(CELLTYPE_VALUE), mfValue(fValue) {}
|
||||||
|
|
||||||
ScCellValue::ScCellValue( const svl::SharedString& rString ) : meType(CELLTYPE_STRING), mpString(new svl::SharedString(rString)) {}
|
ScCellValue::ScCellValue( const svl::SharedString& rString ) : meType(CELLTYPE_STRING), mpString(new svl::SharedString(rString)) {}
|
||||||
ScCellValue::ScCellValue( const EditTextObject& rEditText ) : meType(CELLTYPE_EDIT), mpEditText(rEditText.Clone()) {}
|
|
||||||
ScCellValue::ScCellValue( const ScFormulaCell& rFormula ) : meType(CELLTYPE_FORMULA), mpFormula(rFormula.Clone()) {}
|
|
||||||
|
|
||||||
ScCellValue::ScCellValue( const ScCellValue& r ) : meType(r.meType), mfValue(r.mfValue)
|
ScCellValue::ScCellValue( const ScCellValue& r ) : meType(r.meType), mfValue(r.mfValue)
|
||||||
{
|
{
|
||||||
@@ -271,13 +270,6 @@ void ScCellValue::set( const EditTextObject& rEditText )
|
|||||||
mpEditText = rEditText.Clone();
|
mpEditText = rEditText.Clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScCellValue::set( const ScFormulaCell& rFormula )
|
|
||||||
{
|
|
||||||
clear();
|
|
||||||
meType = CELLTYPE_FORMULA;
|
|
||||||
mpFormula = rFormula.Clone();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScCellValue::set( ScFormulaCell* pFormula )
|
void ScCellValue::set( ScFormulaCell* pFormula )
|
||||||
{
|
{
|
||||||
clear();
|
clear();
|
||||||
@@ -450,16 +442,6 @@ void ScCellValue::release( ScColumn& rColumn, SCROW nRow )
|
|||||||
mfValue = 0.0;
|
mfValue = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ScCellValue::hasString() const
|
|
||||||
{
|
|
||||||
return hasStringImpl(meType, mpFormula);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ScCellValue::hasNumeric() const
|
|
||||||
{
|
|
||||||
return hasNumericImpl(meType, mpFormula);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ScCellValue::isEmpty() const
|
bool ScCellValue::isEmpty() const
|
||||||
{
|
{
|
||||||
return meType == CELLTYPE_NONE;
|
return meType == CELLTYPE_NONE;
|
||||||
|
@@ -61,11 +61,6 @@ SalDisplay::PrintInfo() const
|
|||||||
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
|
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
|
||||||
ScCellIterator::getValue()
|
ScCellIterator::getValue()
|
||||||
ScCellIterator::hasNumeric() const
|
ScCellIterator::hasNumeric() const
|
||||||
ScCellValue::ScCellValue(EditTextObject const&)
|
|
||||||
ScCellValue::ScCellValue(ScFormulaCell const&)
|
|
||||||
ScCellValue::hasNumeric() const
|
|
||||||
ScCellValue::hasString() const
|
|
||||||
ScCellValue::set(ScFormulaCell const&)
|
|
||||||
ScDocument::CreateFormatTable() const
|
ScDocument::CreateFormatTable() const
|
||||||
ScExtIButton::GetSelected() const
|
ScExtIButton::GetSelected() const
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
||||||
|
Reference in New Issue
Block a user