Kaydet (Commit) 4e432a17 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused function 'hasNonEmpty'

Change-Id: I8a806caf50df76687a339f583ce57d244553240d
üst 5505cf4f
......@@ -2558,16 +2558,6 @@ struct NonNullStringFinder : std::unary_function<const rtl_uString*, bool>
bool operator() (const rtl_uString* p) const { return p != NULL; }
};
bool hasNonEmpty( const sc::FormulaGroupContext::NumArrayType& rArray, SCROW nRow1, SCROW nRow2 )
{
// The caller has to make sure the array is at least nRow2+1 long.
sc::FormulaGroupContext::NumArrayType::const_iterator it = rArray.begin();
std::advance(it, nRow1);
sc::FormulaGroupContext::NumArrayType::const_iterator itEnd = it;
std::advance(itEnd, nRow2-nRow1+1);
return std::find_if(it, itEnd, FiniteValueFinder()) != itEnd;
}
bool hasNonEmpty( const sc::FormulaGroupContext::StrArrayType& rArray, SCROW nRow1, SCROW nRow2 )
{
// The caller has to make sure the array is at least nRow2+1 long.
......
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