lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 5f6dc89 131/156: Use string objects for illus


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5f6dc89 131/156: Use string objects for illustration_table_column fields
Date: Tue, 30 Jan 2018 17:22:31 -0500 (EST)

branch: master
commit 5f6dc89a00992e33defee4ead72ffad6ddc6c7c5
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Use string objects for illustration_table_column fields
    
    They can't be just simple C string pointers any more as the columns set
    for supplemental reports will be constructed dynamically.
---
 ledger_pdf_generator_wx.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index a75d59d..b72ad06 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -340,9 +340,9 @@ class using_illustration_table
     // Description of a single table column.
     struct illustration_table_column
     {
-        char const* variable_name;
-        char const* label;
-        char const* widest_text;
+        std::string const variable_name;
+        std::string const label;
+        std::string const widest_text;
     };
 
     using illustration_table_columns = std::vector<illustration_table_column>;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]