blob: 1209e2f3c51bb01400d86d1877ccdb07a841942f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <precomp.h>
#include "attrstr.h"
#include <bfc/memblock.h>
const wchar_t *_string::getValue()
{
int l = getDataLen();
if (l <= 0) return L"";
MemBlock<wchar_t> mb(l+2);
getData(mb.getMemory(), l+2);
returnval = mb;
return returnval;
}
|