No need for rtl::Reference friend, no need for #include vclptr.hxx
Change-Id: I7bdd15a93e728ef7e98a53001c6eb6b56f761a6d
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
*/
|
||||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <vcl/vclptr.hxx>
|
||||
#include <vcl/vclreferencebase.hxx>
|
||||
|
||||
struct Widget : public VclReferenceBase
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <tools/link.hxx>
|
||||
#include <vcl/dllapi.h>
|
||||
#include <vcl/vclptr.hxx>
|
||||
#include <vcl/vclreferencebase.hxx>
|
||||
#include <vector>
|
||||
|
||||
|
@@ -20,8 +20,8 @@
|
||||
#define INCLUDED_VCL_Reference_HXX
|
||||
|
||||
#include <vcl/dllapi.h>
|
||||
#include <vcl/vclptr.hxx>
|
||||
#include <tools/debug.hxx>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
class VclReferenceBase;
|
||||
@@ -30,8 +30,7 @@ class VCL_DLLPUBLIC VclReferenceBase
|
||||
{
|
||||
mutable int mnRefCnt;
|
||||
|
||||
template<typename T> friend class ::rtl::Reference;
|
||||
template<typename T> friend class ::VclPtr;
|
||||
template<typename T> friend class VclPtr;
|
||||
|
||||
public:
|
||||
inline void acquire() const
|
||||
|
Reference in New Issue
Block a user