summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/api/operations.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/api/operations.h')
-rw-r--r--plugins/Dropbox/src/api/operations.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Dropbox/src/api/operations.h b/plugins/Dropbox/src/api/operations.h
index 1ff7d50230..56578515b3 100644
--- a/plugins/Dropbox/src/api/operations.h
+++ b/plugins/Dropbox/src/api/operations.h
@@ -26,8 +26,7 @@ public:
CMStringA data(CMStringDataFormat::FORMAT, "root=auto&path=%s", path);
data.Replace('\\', '/');
- pData = data.GetBuffer();
- dataLength = data.GetLength();
+ SetData(data.GetBuffer(), data.GetLength());
}
};
@@ -42,8 +41,7 @@ public:
CMStringA data(CMStringDataFormat::FORMAT, "root=auto&path=%s", path);
data.Replace('\\', '/');
- pData = data.GetBuffer();
- dataLength = data.GetLength();
+ SetData(data.GetBuffer(), data.GetLength());
}
};