Kaydet (Commit) 1eab4c94 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-member-function

Change-Id: Ie10ff4da2612e4b89d9126070edeeb0b5661df86
üst 4d8af503
......@@ -148,29 +148,6 @@ private:
bool mbFirst;
};
class FindDeletedRange : public ::std::unary_function<const ScRange*, bool>
{
public:
FindDeletedRange( SCsCOL nDx, SCsROW nDy): mnDx(nDx), mnDy(nDy) {}
FindDeletedRange( const FindDeletedRange& r) : mnDx(r.mnDx), mnDy(r.mnDy) {}
bool operator() (const ScRange* p)
{
const ScAddress& rStart = p->aStart;
const ScAddress& rEnd = p->aEnd;
if( rEnd.Col() +mnDx < rStart.Col() )
return true;
if( rEnd.Row() + mnDy < rStart.Row() )
return true;
return false;
}
private:
SCsCOL mnDx;
SCsROW mnDy;
};
}
// ScRangeList
......
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