remove unused code oox::xls::FormulaParser::convertBoolToFormula(bool)
Change-Id: Ib7c5af91e7db78ff41c19b38f7e440f6cd00a089
This commit is contained in:
@@ -125,9 +125,6 @@ public:
|
||||
BiffInputStream& rStrm,
|
||||
const sal_uInt16* pnFmlaSize = 0 ) const;
|
||||
|
||||
/** Converts the passed Boolean value to a similar formula. */
|
||||
ApiTokenSequence convertBoolToFormula( bool bValue ) const;
|
||||
|
||||
/** Converts the passed BIFF error code to a similar formula. */
|
||||
ApiTokenSequence convertErrorToFormula( sal_uInt8 nErrorCode ) const;
|
||||
|
||||
|
@@ -2796,19 +2796,6 @@ ApiTokenSequence FormulaParser::importFormula( const CellAddress& rBaseAddress,
|
||||
return mxImpl->importBiffFormula( rBaseAddress, eType, rStrm, pnFmlaSize );
|
||||
}
|
||||
|
||||
ApiTokenSequence FormulaParser::convertBoolToFormula( bool bValue ) const
|
||||
{
|
||||
if( const FunctionInfo* pFuncInfo = getFuncInfoFromBiffFuncId( bValue ? BIFF_FUNC_TRUE : BIFF_FUNC_FALSE ) )
|
||||
{
|
||||
ApiTokenSequence aTokens( 3 );
|
||||
aTokens[ 0 ].OpCode = pFuncInfo->mnApiOpCode;
|
||||
aTokens[ 1 ].OpCode = OPCODE_OPEN;
|
||||
aTokens[ 2 ].OpCode = OPCODE_CLOSE;
|
||||
return aTokens;
|
||||
}
|
||||
return ApiTokenSequence();
|
||||
}
|
||||
|
||||
ApiTokenSequence FormulaParser::convertErrorToFormula( sal_uInt8 nErrorCode ) const
|
||||
{
|
||||
ApiTokenSequence aTokens( 3 );
|
||||
|
@@ -303,7 +303,6 @@ oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::su
|
||||
oox::AttributeConversion::decodeDouble(rtl::OUString const&)
|
||||
oox::core::Decrypt::aes128cbc(std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&)
|
||||
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
|
||||
oox::xls::FormulaParser::convertBoolToFormula(bool) const
|
||||
oox::xls::WorkbookHelper::getDocShell()
|
||||
oox::xls::WorksheetGlobals::getColumns(oox::ValueRange const&) const
|
||||
oox::xls::WorksheetGlobals::getRows(oox::ValueRange const&) const
|
||||
|
Reference in New Issue
Block a user