diff options
Diffstat (limited to 'linden/indra/llinventory/llinventory.cpp')
-rw-r--r-- | linden/indra/llinventory/llinventory.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linden/indra/llinventory/llinventory.cpp b/linden/indra/llinventory/llinventory.cpp index e6c1175..3afa2be 100644 --- a/linden/indra/llinventory/llinventory.cpp +++ b/linden/indra/llinventory/llinventory.cpp | |||
@@ -99,7 +99,7 @@ LLInventoryObject::~LLInventoryObject( void ) | |||
99 | { | 99 | { |
100 | } | 100 | } |
101 | 101 | ||
102 | void LLInventoryObject::copy(const LLInventoryObject* other) | 102 | void LLInventoryObject::copyObject(const LLInventoryObject* other) |
103 | { | 103 | { |
104 | mUUID = other->mUUID; | 104 | mUUID = other->mUUID; |
105 | mParentUUID = other->mParentUUID; | 105 | mParentUUID = other->mParentUUID; |
@@ -309,7 +309,7 @@ LLInventoryItem::LLInventoryItem() : | |||
309 | LLInventoryItem::LLInventoryItem(const LLInventoryItem* other) : | 309 | LLInventoryItem::LLInventoryItem(const LLInventoryItem* other) : |
310 | LLInventoryObject() | 310 | LLInventoryObject() |
311 | { | 311 | { |
312 | copy(other); | 312 | copyItem(other); |
313 | } | 313 | } |
314 | 314 | ||
315 | LLInventoryItem::~LLInventoryItem() | 315 | LLInventoryItem::~LLInventoryItem() |
@@ -317,9 +317,9 @@ LLInventoryItem::~LLInventoryItem() | |||
317 | } | 317 | } |
318 | 318 | ||
319 | // virtual | 319 | // virtual |
320 | void LLInventoryItem::copy(const LLInventoryItem* other) | 320 | void LLInventoryItem::copyItem(const LLInventoryItem* other) |
321 | { | 321 | { |
322 | LLInventoryObject::copy(other); | 322 | copyObject(other); |
323 | mPermissions = other->mPermissions; | 323 | mPermissions = other->mPermissions; |
324 | mAssetUUID = other->mAssetUUID; | 324 | mAssetUUID = other->mAssetUUID; |
325 | mDescription = other->mDescription; | 325 | mDescription = other->mDescription; |
@@ -331,10 +331,10 @@ void LLInventoryItem::copy(const LLInventoryItem* other) | |||
331 | 331 | ||
332 | // As a constructor alternative, the clone() method works like a | 332 | // As a constructor alternative, the clone() method works like a |
333 | // copy constructor, but gens a new UUID. | 333 | // copy constructor, but gens a new UUID. |
334 | void LLInventoryItem::clone(LLPointer<LLInventoryItem>& newitem) const | 334 | void LLInventoryItem::cloneItem(LLPointer<LLInventoryItem>& newitem) const |
335 | { | 335 | { |
336 | newitem = new LLInventoryItem; | 336 | newitem = new LLInventoryItem; |
337 | newitem->copy(this); | 337 | newitem->copyItem(this); |
338 | newitem->mUUID.generate(); | 338 | newitem->mUUID.generate(); |
339 | } | 339 | } |
340 | 340 | ||
@@ -1334,7 +1334,7 @@ LLInventoryCategory::LLInventoryCategory() : | |||
1334 | LLInventoryCategory::LLInventoryCategory(const LLInventoryCategory* other) : | 1334 | LLInventoryCategory::LLInventoryCategory(const LLInventoryCategory* other) : |
1335 | LLInventoryObject() | 1335 | LLInventoryObject() |
1336 | { | 1336 | { |
1337 | copy(other); | 1337 | copyCategory(other); |
1338 | } | 1338 | } |
1339 | 1339 | ||
1340 | LLInventoryCategory::~LLInventoryCategory() | 1340 | LLInventoryCategory::~LLInventoryCategory() |
@@ -1342,9 +1342,9 @@ LLInventoryCategory::~LLInventoryCategory() | |||
1342 | } | 1342 | } |
1343 | 1343 | ||
1344 | // virtual | 1344 | // virtual |
1345 | void LLInventoryCategory::copy(const LLInventoryCategory* other) | 1345 | void LLInventoryCategory::copyCategory(const LLInventoryCategory* other) |
1346 | { | 1346 | { |
1347 | LLInventoryObject::copy(other); | 1347 | copyObject(other); |
1348 | mPreferredType = other->mPreferredType; | 1348 | mPreferredType = other->mPreferredType; |
1349 | } | 1349 | } |
1350 | 1350 | ||