Make these non inline.
Don't do this please... Change-Id: Id90490622bca10beabf7a1c92e51e55bc72a1db8
This commit is contained in:
@@ -31,7 +31,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
virtual ~RefHint() = 0;
|
virtual ~RefHint() = 0;
|
||||||
|
|
||||||
Type getType() const { return meType; }
|
Type getType() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RefMovedHint : public RefHint
|
class RefMovedHint : public RefHint
|
||||||
@@ -47,12 +47,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Get the source range from which the references have moved.
|
* Get the source range from which the references have moved.
|
||||||
*/
|
*/
|
||||||
const ScRange& getRange() const { return maRange;}
|
const ScRange& getRange() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the movement vector.
|
* Get the movement vector.
|
||||||
*/
|
*/
|
||||||
const ScAddress& getDelta() const { return maMoveDelta;}
|
const ScAddress& getDelta() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RefColReorderHint : public RefHint
|
class RefColReorderHint : public RefHint
|
||||||
@@ -66,11 +66,11 @@ public:
|
|||||||
RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 );
|
RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 );
|
||||||
virtual ~RefColReorderHint();
|
virtual ~RefColReorderHint();
|
||||||
|
|
||||||
const sc::ColReorderMapType& getColMap() const { return mrColMap;}
|
const sc::ColReorderMapType& getColMap() const;
|
||||||
|
|
||||||
SCTAB getTab() const { return mnTab;}
|
SCTAB getTab() const;
|
||||||
SCROW getStartRow() const { return mnRow1;}
|
SCROW getStartRow() const;
|
||||||
SCROW getEndRow() const { return mnRow2;}
|
SCROW getEndRow() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -14,16 +14,51 @@ namespace sc {
|
|||||||
RefHint::RefHint( Type eType ) : SfxSimpleHint(SC_HINT_REFERENCE), meType(eType) {}
|
RefHint::RefHint( Type eType ) : SfxSimpleHint(SC_HINT_REFERENCE), meType(eType) {}
|
||||||
RefHint::~RefHint() {}
|
RefHint::~RefHint() {}
|
||||||
|
|
||||||
|
RefHint::Type RefHint::getType() const
|
||||||
|
{
|
||||||
|
return meType;
|
||||||
|
}
|
||||||
|
|
||||||
RefMovedHint::RefMovedHint( const ScRange& rRange, const ScAddress& rMove ) :
|
RefMovedHint::RefMovedHint( const ScRange& rRange, const ScAddress& rMove ) :
|
||||||
RefHint(Moved), maRange(rRange), maMoveDelta(rMove) {}
|
RefHint(Moved), maRange(rRange), maMoveDelta(rMove) {}
|
||||||
|
|
||||||
RefMovedHint::~RefMovedHint() {}
|
RefMovedHint::~RefMovedHint() {}
|
||||||
|
|
||||||
|
const ScRange& RefMovedHint::getRange() const
|
||||||
|
{
|
||||||
|
return maRange;
|
||||||
|
}
|
||||||
|
|
||||||
|
const ScAddress& RefMovedHint::getDelta() const
|
||||||
|
{
|
||||||
|
return maMoveDelta;
|
||||||
|
}
|
||||||
|
|
||||||
RefColReorderHint::RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 ) :
|
RefColReorderHint::RefColReorderHint( const sc::ColReorderMapType& rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2 ) :
|
||||||
RefHint(ColumnReordered), mrColMap(rColMap), mnTab(nTab), mnRow1(nRow1), mnRow2(nRow2) {}
|
RefHint(ColumnReordered), mrColMap(rColMap), mnTab(nTab), mnRow1(nRow1), mnRow2(nRow2) {}
|
||||||
|
|
||||||
RefColReorderHint::~RefColReorderHint() {}
|
RefColReorderHint::~RefColReorderHint() {}
|
||||||
|
|
||||||
|
const sc::ColReorderMapType& RefColReorderHint::getColMap() const
|
||||||
|
{
|
||||||
|
return mrColMap;
|
||||||
|
}
|
||||||
|
|
||||||
|
SCTAB RefColReorderHint::getTab() const
|
||||||
|
{
|
||||||
|
return mnTab;
|
||||||
|
}
|
||||||
|
|
||||||
|
SCROW RefColReorderHint::getStartRow() const
|
||||||
|
{
|
||||||
|
return mnRow1;
|
||||||
|
}
|
||||||
|
|
||||||
|
SCROW RefColReorderHint::getEndRow() const
|
||||||
|
{
|
||||||
|
return mnRow2;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
Reference in New Issue
Block a user