summaryrefslogtreecommitdiff
path: root/embedserv/source/inprocserv/smartpointer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/inprocserv/smartpointer.hxx')
-rw-r--r--embedserv/source/inprocserv/smartpointer.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/embedserv/source/inprocserv/smartpointer.hxx b/embedserv/source/inprocserv/smartpointer.hxx
index 2b72d11287fa..fbb30f413a21 100644
--- a/embedserv/source/inprocserv/smartpointer.hxx
+++ b/embedserv/source/inprocserv/smartpointer.hxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,7 +59,7 @@ template< class T > class ComSmart
pInterface->Release();
}
}
-
+
public:
ComSmart()
: m_pInterface( NULL )
@@ -78,7 +78,7 @@ public:
if ( m_pInterface != NULL )
m_pInterface->AddRef();
}
-
+
~ComSmart()
{
OwnRelease();
@@ -95,7 +95,7 @@ public:
return *this;
}
-
+
ComSmart<T>& operator=( T* pInterface )
{
OwnRelease();
@@ -117,7 +117,7 @@ public:
{
return *m_pInterface;
}
-
+
T** operator&()
{
OwnRelease();