mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-20 06:06:52 -06:00
RichText: HeaderFooter: Fixed GCC compilation
git-svn-id: svn://ultimatepp.org/upp/trunk@6486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b496b51468
commit
d8e8ffbf02
1 changed files with 6 additions and 4 deletions
|
|
@ -64,14 +64,16 @@ void RichText::PaintHeaderFooter(PageDraw& pw, const Rect& page, const PaintInfo
|
|||
|
||||
void RichText::PickHeader(pick_ RichText& txt)
|
||||
{
|
||||
txt.ClearHeader();
|
||||
header.Create() = txt;
|
||||
RichText b = txt;
|
||||
b.ClearHeader();
|
||||
header.Create() = b;
|
||||
}
|
||||
|
||||
void RichText::PickFooter(pick_ RichText& txt)
|
||||
{
|
||||
txt.ClearFooter();
|
||||
footer.Create() = txt;
|
||||
RichText b = txt;
|
||||
b.ClearFooter();
|
||||
footer.Create() = b;
|
||||
}
|
||||
|
||||
void RichText::SetHeaderQtf(const char *qtf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue