1
0

attrstr.cpp 259 B

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