git-svn-id: svn://db.shs.com.ru/libs@526 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-04-11 07:36:59 +00:00
parent 8b62b9edff
commit 03513e19d5

View File

@@ -1,6 +1,7 @@
#include "cdutils_parser.h"
#include "cdutils_types.h"
#include "piiostring.h"
#include "piiobytearray.h"
#include "pifile.h"
using namespace CDUtils;
@@ -93,6 +94,7 @@ CDSection CDParser::parse(PIIODevice * d, int cdsection_type) {
content = PIString::fromUTF8((const char *)c.data());
}
if (PIStringAscii(d->className()) == PIStringAscii("PIIOString")) content = *(((PIIOString*)d)->string());
if (PIStringAscii(d->className()) == PIStringAscii("PIIOByteArray")) content = PIString(*(((PIIOByteArray*)d)->byteArray()));
PIIOString ios(&content);
//int phase = 0;
int cind = -1;