1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-26 19:57:22 +08:00
This commit is contained in:
stefanocasazza
2016-11-08 14:26:32 +01:00
parent c6683d1e1b
commit 33441b06ba
128 changed files with 4066 additions and 4275 deletions

View File

@@ -188,7 +188,7 @@ public:
U_NEW(UString, row, UString);
U_NEW(UVector<UString>, vec, UVector<UString>);
U_NEW(UCommand, xsltproc, UCommand);
U_NEW(UString, xsltproc_cmd, UString("xsltproc -"));
U_NEW(UString, xsltproc_cmd, UString(U_CONSTANT_TO_PARAM("xsltproc -")));
U_NEW(UString, xsltproc_out, UString(U_CAPACITY));
xsltproc->set(*xsltproc_cmd, (char**)0);
@@ -631,7 +631,7 @@ public:
{
U_TRACE(5, "Application::loadDocument()")
*content = UFile::contentOf(UString(filename));
*content = UFile::contentOf(UString(filename, strlen(filename)));
if (content->empty())
{