Changeset 54636 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 4, 2015 9:37:43 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98783
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h
r54634 r54636 629 629 clear(); 630 630 mIface = that.mIface; 631 this->addref( ptr());631 this->addref((IUnknown*)ptr()); 632 632 } 633 633 … … 636 636 clear(); 637 637 setPtr(aIface); 638 this->addref( aIface);638 this->addref((IUnknown*)aIface); 639 639 } 640 640 … … 689 689 /* be aware of self assignment */ 690 690 I* amIface = ptr(); 691 this->addref( aIface);692 this->release( amIface);691 this->addref((IUnknown*)aIface); 692 this->release((IUnknown*)amIface); 693 693 if (aIface) 694 694 { 695 695 amIface = NULL; 696 696 B::mRC = aIface->QueryInterface(COM_IIDOF(I), (void **)&amIface); 697 this->release( aIface);697 this->release((IUnknown*)aIface); 698 698 setPtr(amIface); 699 699 } … … 712 712 #endif 713 713 /* be aware of self assignment */ 714 this->addref( aIface);715 this->release( ptr());714 this->addref((IUnknown*)aIface); 715 this->release((IUnknown*)ptr()); 716 716 setPtr(aIface); 717 717 B::mRC = S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.