summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-03 21:14:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-05 21:18:12 +0200
commitf41eea85217a9179b98502d536ec0548c9e1705f (patch)
treeefcca4acfb1233f401ca7335162835965cf855a9 /dbaccess/source
parent256dfb9e78175c6e6a0723818afb9404ab350640 (diff)
Improved loplugin:cstylecast to reference types: dbaccess
Change-Id: I298c4d8b8244488964ae1e63dabb8bf400c3fb32
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index 0c42e19325c2..cb2bbea06c2a 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -1523,7 +1523,7 @@ void SAL_CALL ODatabaseDocument::close(sal_Bool bDeliverOwnership)
impl_closeControllerFrames_nolck_throw( bDeliverOwnership );
- m_aCloseListener.notifyEach( &XCloseListener::notifyClosing, (const lang::EventObject&)aEvent );
+ m_aCloseListener.notifyEach( &XCloseListener::notifyClosing, const_cast<const lang::EventObject&>(aEvent) );
dispose();
}