- Timestamp:
- Jun 16, 2014 10:20:15 AM (10 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r51556 r51620 102 102 #else /* VBOX_WITH_DRAG_AND_DROP */ 103 103 104 AutoCaller autoCaller(this); 105 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 106 107 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 108 104 109 return GuestDnDBase::isFormatSupported(aFormat, aSupported); 105 110 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 112 117 #else /* VBOX_WITH_DRAG_AND_DROP */ 113 118 119 AutoCaller autoCaller(this); 120 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 121 122 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 123 114 124 return GuestDnDBase::getFormats(aFormats); 115 125 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 122 132 #else /* VBOX_WITH_DRAG_AND_DROP */ 123 133 134 AutoCaller autoCaller(this); 135 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 136 137 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 138 124 139 return GuestDnDBase::addFormats(aFormats); 125 140 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 131 146 ReturnComNotImplemented(); 132 147 #else /* VBOX_WITH_DRAG_AND_DROP */ 148 149 AutoCaller autoCaller(this); 150 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 151 152 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 133 153 134 154 return GuestDnDBase::removeFormats(aFormats); -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r51556 r51620 101 101 #else /* VBOX_WITH_DRAG_AND_DROP */ 102 102 103 AutoCaller autoCaller(this); 104 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 105 106 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 107 103 108 return GuestDnDBase::isFormatSupported(aFormat, aSupported); 104 109 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 111 116 #else /* VBOX_WITH_DRAG_AND_DROP */ 112 117 118 AutoCaller autoCaller(this); 119 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 120 121 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 122 113 123 return GuestDnDBase::getFormats(aFormats); 114 124 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 121 131 #else /* VBOX_WITH_DRAG_AND_DROP */ 122 132 133 AutoCaller autoCaller(this); 134 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 135 136 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 137 123 138 return GuestDnDBase::addFormats(aFormats); 124 139 #endif /* VBOX_WITH_DRAG_AND_DROP */ … … 130 145 ReturnComNotImplemented(); 131 146 #else /* VBOX_WITH_DRAG_AND_DROP */ 147 148 AutoCaller autoCaller(this); 149 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 150 151 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 132 152 133 153 return GuestDnDBase::removeFormats(aFormats);
Note:
See TracChangeset
for help on using the changeset viewer.