diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-28 13:43:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-29 09:38:51 +0200 |
commit | 80343351c9444bba7a5ac98f22fddbbecf5abb9f (patch) | |
tree | 4341e3ba5903482c45971bac14c74c2caee10045 /dbaccess | |
parent | 37f9fdc11c4e95d6a34cb515a454503256a82c63 (diff) |
loplugin:constantparam (2)
Change-Id: I528f22876497f87159e3b9453362ebbfb55b7092
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dbadmin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx index 5075f47c4a37..9e750469f186 100644 --- a/dbaccess/source/ui/dlg/dbadmin.cxx +++ b/dbaccess/source/ui/dlg/dbadmin.cxx @@ -98,7 +98,7 @@ void ODbAdminDialog::PageCreated(sal_uInt16 _nId, SfxTabPage& _rPage) void ODbAdminDialog::addDetailPage(sal_uInt16 _nPageId, const char* pTextId, CreateTabPage _pCreateFunc) { - AddTabPage(_nPageId, DBA_RES(pTextId), _pCreateFunc, nullptr); + AddTabPage(_nPageId, DBA_RES(pTextId), _pCreateFunc); m_aCurrentDetailPages.push(_nPageId); } @@ -158,7 +158,7 @@ void ODbAdminDialog::impl_selectDataSource(const css::uno::Any& _aDataSourceName case ::dbaccess::DST_USERDEFINE10: { OUString aTitle(DBA_RES(STR_PAGETITLE_ADVANCED)); - AddTabPage(PAGE_USERDRIVER, aTitle, ODriversSettings::CreateUser, nullptr, 1); + AddTabPage(PAGE_USERDRIVER, aTitle, ODriversSettings::CreateUser, 1); m_aCurrentDetailPages.push(PAGE_USERDRIVER); } break; @@ -200,7 +200,7 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou ::dbaccess::ODsnTypeCollection* pCollection = rCollectionItem.getCollection(); if ( pCollection->determineType(getDatasourceType( *m_pExampleSet )) == ::dbaccess::DST_MYSQL_NATIVE ) { - AddTabPage( PAGE_MYSQL_NATIVE, DBA_RES(STR_PAGETITLE_CONNECTION), ODriversSettings::CreateMySQLNATIVE, nullptr ); + AddTabPage( PAGE_MYSQL_NATIVE, DBA_RES(STR_PAGETITLE_CONNECTION), ODriversSettings::CreateMySQLNATIVE ); RemoveTabPage("advanced"); m_nMainPageID = PAGE_MYSQL_NATIVE; } |