lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6533] Avoid needless conversions of std::string to wxStri


From: Greg Chicares
Subject: [lmi-commits] [6533] Avoid needless conversions of std::string to wxString (VZ)
Date: Sun, 27 Mar 2016 10:58:20 +0000

Revision: 6533
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6533
Author:   chicares
Date:     2016-03-27 10:58:20 +0000 (Sun, 27 Mar 2016)
Log Message:
-----------
Avoid needless conversions of std::string to wxString (VZ)

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/group_quote_pdf_gen_wx.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-03-27 10:23:14 UTC (rev 6532)
+++ lmi/trunk/ChangeLog 2016-03-27 10:58:20 UTC (rev 6533)
@@ -38784,3 +38784,8 @@
   workhorse.make
 Enable more warnings in more situations.
 
+20160327T1058Z <address@hidden> [454]
+
+  group_quote_pdf_gen_wx.cpp
+Avoid needless conversions of std::string to wxString (VZ).
+

Modified: lmi/trunk/group_quote_pdf_gen_wx.cpp
===================================================================
--- lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-03-27 10:23:14 UTC (rev 
6532)
+++ lmi/trunk/group_quote_pdf_gen_wx.cpp        2016-03-27 10:58:20 UTC (rev 
6533)
@@ -157,7 +157,7 @@
 
 /// Transform 'html' -> '<br><br>html', but return empty string unchanged.
 
-wxString brbr(wxString const& html)
+wxString brbr(std::string const& html)
 {
     return
         wrap_if_not_empty<html::tag::br>
@@ -169,7 +169,7 @@
 
 /// Transform 'html' -> '<br><br><b>html</b>', but return empty string 
unchanged.
 
-wxString brbrb(wxString const& html)
+wxString brbrb(std::string const& html)
 {
     return
         wrap_if_not_empty<html::tag::br>




reply via email to

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