Remove unused function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-11 19:48:49 +00:00
parent ab76cb0bc9
commit c5f556e43a
2 changed files with 0 additions and 14 deletions

View File

@ -179,17 +179,6 @@ ParagraphMetrics & TextMetrics::parMetrics(pit_type pit, bool redo)
}
int TextMetrics::parPosition(pit_type pit) const
{
if (pit < par_metrics_.begin()->first)
return -1000000;
if (pit > par_metrics_.rbegin()->first)
return +1000000;
return par_metrics_[pit].position();
}
bool TextMetrics::metrics(MetricsInfo & mi, Dimension & dim, int min_width)
{
LASSERT(mi.base.textwidth > 0, /**/);

View File

@ -46,9 +46,6 @@ public:
///
std::pair<pit_type, ParagraphMetrics const *> last() const;
///
int parPosition(pit_type pit) const;
///
Dimension const & dimension() const { return dim_; }
///