summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/inc/ado/Aolewrap.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 71b897e9fe9d..63df70cfd6fc 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -98,7 +98,7 @@ namespace connectivity
{
}
- operator T*() const { return static_cast<T*>(pInterface); }
+ operator T*() const { return pInterface; }
void setWithOutAddRef(T* _pInterface)
{
pInterface = _pInterface;