diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-07 15:52:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-08 07:37:53 +0100 |
commit | 906f8e89370cc71215ade869d7bfc2d489343f64 (patch) | |
tree | 9c7ec037cf04eaebc462666df2e3e8215b582f0e /dbaccess | |
parent | 7f48fa8152bd3320af7276d811b752c5a762dcce (diff) |
loplugin:constantparam
Change-Id: I593ccc2fb43321caf3ff64d0c348b1bac742ad18
Reviewed-on: https://gerrit.libreoffice.org/63025
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 34b80d261f19..cc5106c986ab 100644 --- a/dbaccess/source/ui/dlg/dbadmin.cxx +++ b/dbaccess/source/ui/dlg/dbadmin.cxx @@ -86,7 +86,7 @@ void ODbAdminDialog::PageCreated(const OString& rId, SfxTabPage& _rPage) void ODbAdminDialog::addDetailPage(const OString& rPageId, const char* pTextId, CreateTabPage pCreateFunc) { - AddTabPage(rPageId, DBA_RES(pTextId), pCreateFunc, nullptr); + AddTabPage(rPageId, DBA_RES(pTextId), pCreateFunc); } void ODbAdminDialog::impl_selectDataSource(const css::uno::Any& _aDataSourceName) @@ -145,7 +145,7 @@ void ODbAdminDialog::impl_selectDataSource(const css::uno::Any& _aDataSourceName case ::dbaccess::DST_USERDEFINE10: { OUString aTitle(DBA_RES(STR_PAGETITLE_ADVANCED)); - AddTabPage("user" + OString(static_cast<int>(eType)), aTitle, ODriversSettings::CreateUser, nullptr); + AddTabPage("user" + OString(static_cast<int>(eType)), aTitle, ODriversSettings::CreateUser); } break; default: @@ -186,7 +186,7 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou if ( pCollection->determineType(getDatasourceType( *m_xExampleSet )) == ::dbaccess::DST_MYSQL_NATIVE ) { OString sMySqlNative("mysqlnative"); - AddTabPage(sMySqlNative, DBA_RES(STR_PAGETITLE_CONNECTION), ODriversSettings::CreateMySQLNATIVE, nullptr); + AddTabPage(sMySqlNative, DBA_RES(STR_PAGETITLE_CONNECTION), ODriversSettings::CreateMySQLNATIVE); RemoveTabPage("advanced"); m_sMainPageID = sMySqlNative; } |