diff options
Diffstat (limited to 'src/resourcemgr.cpp')
-rw-r--r-- | src/resourcemgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resourcemgr.cpp b/src/resourcemgr.cpp index a15a702..4b504e4 100644 --- a/src/resourcemgr.cpp +++ b/src/resourcemgr.cpp @@ -132,7 +132,7 @@ bool ResourceMgr::copyResourceAs(const char *name,const char *targetDir,const ch if (f.open(IO_WriteOnly)) { QCString buf(res->size+1); - memcpy(buf.data(),res->data,res->size); + memcpy(buf.rawData(),res->data,res->size); FTextStream t(&f); buf = replaceColorMarkers(buf); if (qstrcmp(name,"navtree.css")==0) @@ -172,7 +172,7 @@ QCString ResourceMgr::getAsString(const char *name) const if (res) { QCString result(res->size+1); - memcpy(result.data(),res->data,res->size); + memcpy(result.rawData(),res->data,res->size); return result; } else |