lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string ins


From: Greg Chicares
Subject: [lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string instead of concatenating several strings
Date: Tue, 30 Jan 2018 17:21:52 -0500 (EST)

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

    Use raw multiline string instead of concatenating several strings
    
    No real changes, just reduce the number of quotes a bit.
---
 ledger_pdf_generator_wx.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 1b02767..6b5fb16 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -400,10 +400,11 @@ class cover_page : public page
         auto const footer_html = tag::p[attr::align("center")]
             (tag::font[attr::size("-1")]
                 (interpolate_html
-                    ("${InsCoShortName} Financial Group is a marketing "
-                     "name for ${InsCoName} (${InsCoShortName}) and its "
-                     "affiliated company and sales representatives, "
-                     "${InsCoAddr}."
+                    (R"(
+${InsCoShortName} Financial Group is a marketing
+name for ${InsCoName} (${InsCoShortName}) and its
+affiliated company and sales representatives, ${InsCoAddr}.
+)"
                     )
                 )
             );



reply via email to

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