[Top][All Lists]

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

[lmi] [PATCH] Take strings of correct type in HTML helper functions

From: Vadim Zeitlin
Subject: [lmi] [PATCH] Take strings of correct type in HTML helper functions
Date: Sat, 27 Feb 2016 21:45:48 +0100


 Here is another very simple patch which simply makes the types used in the
code generation in the PDF output code more consistent. By convention (and
only by convention, unfortunately, as I've never done the changes to make
this code really type-safe) the strings containing "raw" text are supposed
to be std::strings in this code while the strings containing HTML (so with
the special characters such as "<" or "&" already escaped in them) are
supposed to be wxStrings, but a couple of functions didn't follow this rule.

 This patch makes them follow it and, incidentally, also allows this code
to compile with the default (wxUSE_STL=0) build of wxWidgets which is a
nice side effect.

 Thanks in advance for applying it,

Attachment: Take-strings-of-correct-type-in-HTML-helper-function.patch
Description: Text document

reply via email to

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