summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-07-25 14:32:14 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-07-28 22:42:33 +0200
commitad94820ed7bdfb9353d02345e70e02cf2c518893 (patch)
tree45e0a7e290940da45af568d77fee149752c28b92 /connectivity/source/sdbcx
parent5132017d86809c99a1af8ac0c0e0a72d00de3674 (diff)
remove unnecessary const_cast
Change-Id: I49348d953614f997d26cb9ad44e39aa0f4b937d2
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VCatalog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/sdbcx/VCatalog.cxx b/connectivity/source/sdbcx/VCatalog.cxx
index a51e17a4ca17..cf5ffb284bb5 100644
--- a/connectivity/source/sdbcx/VCatalog.cxx
+++ b/connectivity/source/sdbcx/VCatalog.cxx
@@ -110,7 +110,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getTables( ) throw(RuntimeException
// allowed
}
- return const_cast<OCatalog*>(this)->m_pTables;
+ return m_pTables;
}
// -------------------------------------------------------------------------
// XViewsSupplier
@@ -134,7 +134,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getViews( ) throw(RuntimeException)
// allowed
}
- return const_cast<OCatalog*>(this)->m_pViews;
+ return m_pViews;
}
// -------------------------------------------------------------------------
// XUsersSupplier
@@ -158,7 +158,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getUsers( ) throw(RuntimeException)
// allowed
}
- return const_cast<OCatalog*>(this)->m_pUsers;
+ return m_pUsers;
}
// -------------------------------------------------------------------------
// XGroupsSupplier
@@ -182,7 +182,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getGroups( ) throw(RuntimeException
// allowed
}
- return const_cast<OCatalog*>(this)->m_pGroups;
+ return m_pGroups;
}
// -----------------------------------------------------------------------------
OUString OCatalog::buildName(const Reference< XRow >& _xRow)