Author: tfaber
Date: Sat Oct 24 13:26:44 2015
New Revision: 69676
URL:
http://svn.reactos.org/svn/reactos?rev=69676&view=rev
Log:
[ATL]
- Add CComBSTR::operator BSTR. Mark by Mark Jansen.
CORE-10394 #resolve
Modified:
trunk/reactos/lib/atl/atlbase.h
Modified: trunk/reactos/lib/atl/atlbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlbase.h?rev=6967…
==============================================================================
--- trunk/reactos/lib/atl/atlbase.h [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlbase.h [iso-8859-1] Sat Oct 24 13:26:44 2015
@@ -941,6 +941,11 @@
::SysFreeString(m_str);
m_str = NULL;
}
+
+ operator BSTR () const
+ {
+ return m_str;
+ }
};
class CComVariant : public tagVARIANT