[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6563] Move plan-type member to a more appropriate class
From: |
gchicares |
Subject: |
[lmi-commits] [6563] Move plan-type member to a more appropriate class |
Date: |
Sun, 8 May 2016 15:03:39 +0000 (UTC) |
Revision: 6563
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6563
Author: chicares
Date: 2016-05-08 15:03:39 +0000 (Sun, 08 May 2016)
Log Message:
-----------
Move plan-type member to a more appropriate class
Modified Paths:
--------------
lmi/trunk/group_quote_pdf_gen_wx.cpp
Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp 2016-05-07 13:54:31 UTC (rev
6562)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp 2016-05-08 15:03:39 UTC (rev
6563)
@@ -554,6 +554,7 @@
std::string footer_;
// Dynamically-determined fields.
+ std::string plan_type_;
std::string plan_type_footnote_;
// Optional supplementary fields.
@@ -616,8 +617,6 @@
int row_num_;
bool has_suppl_specamt_;
-
- std::string plan_type_;
};
group_quote_pdf_generator_wx::group_quote_pdf_generator_wx()
@@ -824,7 +823,7 @@
// total columns) be suppressed.
if(is_composite)
{
- plan_type_ =
+ report_data_.plan_type_ =
(invar.GroupIndivSelection ? invar.GroupQuoteRubricVoluntary
:has_suppl_specamt_ ? invar.GroupQuoteRubricFusion
: invar.GroupQuoteRubricMandatory
@@ -1189,7 +1188,7 @@
// Add a "plan type" field, then any additional fields,
// in left-to-right then top-to-bottom order.
std::vector<extra_summary_field> fields;
- fields.push_back(extra_summary_field({"Plan Type", plan_type_}));
+ fields.push_back(extra_summary_field({"Plan Type",
report_data_.plan_type_}));
std::vector<extra_summary_field> const& f = report_data_.extra_fields_;
fields.insert(fields.end(), f.begin(), f.end());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6563] Move plan-type member to a more appropriate class,
gchicares <=