.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@10327 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-10-16 17:12:16 +00:00
parent 45e779d507
commit ce6e4e8151
2 changed files with 1 additions and 3 deletions

View file

@ -373,7 +373,7 @@ struct RichContext {
void NewHeaderFooter(RichText *header, RichText *footer_qtf);
void Page() { py.page++; py.y = page.top; }
RichContext(const RichStyles& styles, const RichText *text) : styles(&styles), text(text) { header_cy = footer_cy = 0; }
RichContext(const RichStyles& styles, const RichText *text) : text(text), styles(&styles) { header_cy = footer_cy = 0; }
RichContext() {}
};

View file

@ -326,8 +326,6 @@ void RichTxt::GatherValPos(Vector<RichValPos>& f, RichContext rc, int pos, int t
if(part[parti].Is<RichTable>())
GetTable(parti).GatherValPos(f, begin, pos, type);
else {
int nbefore = 0;
int nline = 0;
const Para& p = part[parti].Get<Para>();
if(p.haspos) {
if(type == LABELS)