MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / ConvertToSave

Method ConvertToSave

sourcecommon/maxxml.cpp:8–17  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6
7//---------------------------------------------------------------------------
8AnsiString XMLElementEx::ConvertToSave(const String s)
9{
10 String rv;
11 for(int i=1, l=s.Length(); i<=l; i++)
12 {
13 if( s[i] != '\r' )
14 rv += s[i];
15 }
16 return UTF8Encode(rv);
17}
18//---------------------------------------------------------------------------
19String XMLElementEx::ConvertAfterLoad(const AnsiString s)
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected