mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Rename TextMetrics::dimension() to dim()
This commit is contained in:
parent
91fc45ed35
commit
2ae51b947b
@ -49,7 +49,7 @@ public:
|
||||
std::pair<pit_type, ParagraphMetrics const *> last() const;
|
||||
|
||||
///
|
||||
Dimension const & dimension() const { return dim_; }
|
||||
Dimension const & dim() const { return dim_; }
|
||||
///
|
||||
Point const & origin() const { return origin_; }
|
||||
|
||||
|
@ -140,7 +140,7 @@ void InsetText::clear()
|
||||
Dimension const InsetText::dimensionHelper(BufferView const & bv) const
|
||||
{
|
||||
TextMetrics const & tm = bv.textMetrics(&text_);
|
||||
Dimension dim = tm.dimension();
|
||||
Dimension dim = tm.dim();
|
||||
dim.wid += 2 * TEXT_TO_INSET_OFFSET;
|
||||
dim.des += TEXT_TO_INSET_OFFSET;
|
||||
dim.asc += TEXT_TO_INSET_OFFSET;
|
||||
|
Loading…
Reference in New Issue
Block a user