mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
ab76cb0bc9
commit
c5f556e43a
@ -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, /**/);
|
||||
|
@ -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_; }
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user