summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 13:37:01 +0200
committerNoel Grandin <noel@peralex.com>2014-10-03 15:20:04 +0200
commita28e7f7aa995f8c2c9e4eda332c30853338c7ae9 (patch)
tree06c5b8defd421e567dcbb1fde5eb91aae1438125 /dbaccess/source/ui/relationdesign
parent0abf268f3893ecc716088aa399e81a1ef31e13d2 (diff)
loplugin: cstylecast
Change-Id: Ie478d1fcfd3b64d7a2128887c216b5e0b4501ab9
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
index a5ce0cf4714e..ccee13854046 100644
--- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
@@ -257,7 +257,7 @@ void ORelationTableView::AddNewRelation()
bool ORelationTableView::RemoveConnection( OTableConnection* pConn ,bool /*_bDelete*/)
{
- ORelationTableConnectionData* pTabConnData = (ORelationTableConnectionData*)pConn->GetData().get();
+ ORelationTableConnectionData* pTabConnData = static_cast<ORelationTableConnectionData*>(pConn->GetData().get());
try
{
if ( m_bInRemove || pTabConnData->DropRelation())