diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 10:43:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-24 14:14:20 +0100 |
commit | 0be61adb0771a9bc0386b6e8d90e4bffd8dfa0e7 (patch) | |
tree | 991a018b9ba73a494e4376e64f7aebcb8aa58c40 /dbaccess/source/ui/misc | |
parent | 4582222a3ade99584514a86dbaddf0c80f7e7196 (diff) |
cppcheck: performing init in init list (dbaccess/desktop/dtrans/e.)
Change-Id: I7909df04a550a4fa843a70d20b5192231c3f175e
Reviewed-on: https://gerrit.libreoffice.org/83600
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r-- | dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index eb3331d6fe88..7f7163a32ba1 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -91,8 +91,8 @@ namespace dbaui } explicit DataSourceHolder(const Reference< XDataSource >& _rxDataSource) + : m_xDataSource(_rxDataSource) { - m_xDataSource = _rxDataSource; Reference< XDocumentDataSource > xDocDS( m_xDataSource, UNO_QUERY ); if ( xDocDS.is() ) m_xDocument = xDocDS->getDatabaseDocument(); |