mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
remove unneeded InsetText::old_max_width member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7303 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bb0175e906
commit
652a08b0a4
@ -1,15 +1,15 @@
|
||||
|
||||
2003-07-17 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* insettext.[Ch]:
|
||||
* insettabular.[Ch]: remove unneeded in_update_ members
|
||||
|
||||
2003-07-17 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* insetcollapsable.C:
|
||||
* insettabular.C:
|
||||
* insettext.C: don't call Inset::update() anymore
|
||||
|
||||
* insettext.[Ch]:
|
||||
* insettabular.[Ch]: remove unneeded in_update_ members
|
||||
|
||||
* insettext.[Ch]: remove unneeded InsetText::old_max_width member
|
||||
|
||||
2003-07-16 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* insettext.C (selectAll): remove
|
||||
|
@ -1256,10 +1256,10 @@ void InsetTabular::calculate_dimensions_of_cells(BufferView * bv) const
|
||||
int cell = -1;
|
||||
bool changed = false;
|
||||
for (int i = 0; i < tabular.rows(); ++i) {
|
||||
maxAsc = 0;
|
||||
maxDesc = 0;
|
||||
int maxAsc = 0;
|
||||
int maxDesc = 0;
|
||||
for (int j = 0; j < tabular.columns(); ++j) {
|
||||
if (tabular.isPartOfMultiColumn(i,j))
|
||||
if (tabular.isPartOfMultiColumn(i, j))
|
||||
continue;
|
||||
++cell;
|
||||
Dimension dim;
|
||||
|
@ -166,7 +166,6 @@ void InsetText::init(InsetText const * ins)
|
||||
for_each(paragraphs.begin(), paragraphs.end(),
|
||||
boost::bind(&Paragraph::setInsetOwner, _1, this));
|
||||
top_y = 0;
|
||||
old_max_width = 0;
|
||||
no_selection = true;
|
||||
need_update = FULL;
|
||||
drawTextXOffset = 0;
|
||||
|
@ -342,8 +342,6 @@ private:
|
||||
///
|
||||
mutable int inset_y;
|
||||
///
|
||||
mutable int old_max_width;
|
||||
///
|
||||
bool no_selection;
|
||||
///
|
||||
UpdatableInset * the_locking_inset;
|
||||
|
Loading…
Reference in New Issue
Block a user