From b5a9fce8a5e217db3814541ce542181bc2f9394d Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 27 May 2014 10:07:23 +0000 Subject: [PATCH] Report: RemoveLastPage git-svn-id: svn://ultimatepp.org/upp/trunk@7396 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Report/Report.h | 1 + uppsrc/Report/init | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/Report/Report.h b/uppsrc/Report/Report.h index ae4d72ef4..764200920 100644 --- a/uppsrc/Report/Report.h +++ b/uppsrc/Report/Report.h @@ -49,6 +49,7 @@ public: int GetY() const { return y; } void NewPage() { Page(pagei + 1); } + void RemoveLastPage() { if(page.GetCount()) page.Drop(); pagei = -1; } void Put(const RichText& txt, void *context = NULL); void Put(const char *qtf); diff --git a/uppsrc/Report/init b/uppsrc/Report/init index af491b681..8b72f4985 100644 --- a/uppsrc/Report/init +++ b/uppsrc/Report/init @@ -2,7 +2,7 @@ #define _Report_icpp_init_stub #include "CtrlLib/init" #include "RichText/init" -#define BLITZ_INDEX__ F9f283417161d586f7a2e89950d2529de +#define BLITZ_INDEX__ Fcae78d106d26dc372cd742d77f7d5d07 #include "ReportI.icpp" #undef BLITZ_INDEX__ #endif