summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-24 09:24:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-24 17:12:23 +0200
commitea5c47d8ab9c8da6facc6ab950a93f4b0c286cb5 (patch)
tree36917ca25c077f8579748b5260b4fc2fbdaecad3 /dbaccess
parent53d582156d0f699711e7993dc8898178b795e1ab (diff)
weld OMySQLODBCDetailsPage
Change-Id: I8f0c291a9bfc3c9cc5edb6095fd31aba68a6feac Reviewed-on: https://gerrit.libreoffice.org/62290 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/detailpages.cxx9
-rw-r--r--dbaccess/source/ui/dlg/detailpages.hxx4
2 files changed, 7 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/detailpages.cxx b/dbaccess/source/ui/dlg/detailpages.cxx
index c571aae44ae7..e7906b62c69b 100644
--- a/dbaccess/source/ui/dlg/detailpages.cxx
+++ b/dbaccess/source/ui/dlg/detailpages.cxx
@@ -483,14 +483,15 @@ namespace dbaui
DBOCommonBehaviourTabPage::implInitControls(_rSet, _bSaveValue);
}
// OMySQLODBCDetailsPage
- OMySQLODBCDetailsPage::OMySQLODBCDetailsPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs )
- :OCommonBehaviourTabPage(pParent, "AutoCharset", "dbaccess/ui/autocharsetpage.ui", _rCoreAttrs, OCommonBehaviourTabPageFlags::UseCharset )
+ OMySQLODBCDetailsPage::OMySQLODBCDetailsPage(TabPageParent pParent, const SfxItemSet& rCoreAttrs)
+ : DBOCommonBehaviourTabPage(pParent, "dbaccess/ui/autocharsetpage.ui", "AutoCharset",
+ rCoreAttrs, OCommonBehaviourTabPageFlags::UseCharset )
{
}
- VclPtr<SfxTabPage> ODriversSettings::CreateMySQLODBC( TabPageParent pParent, const SfxItemSet* _rAttrSet )
+ VclPtr<SfxTabPage> ODriversSettings::CreateMySQLODBC(TabPageParent pParent, const SfxItemSet* pAttrSet)
{
- return VclPtr<OMySQLODBCDetailsPage>::Create( pParent.pParent, *_rAttrSet );
+ return VclPtr<OMySQLODBCDetailsPage>::Create(pParent, *pAttrSet);
}
// OMySQLJDBCDetailsPage
diff --git a/dbaccess/source/ui/dlg/detailpages.hxx b/dbaccess/source/ui/dlg/detailpages.hxx
index d59e2ff065ce..7ce9cfa75c1f 100644
--- a/dbaccess/source/ui/dlg/detailpages.hxx
+++ b/dbaccess/source/ui/dlg/detailpages.hxx
@@ -195,10 +195,10 @@ namespace dbaui
};
// OMySQLODBCDetailsPage
- class OMySQLODBCDetailsPage : public OCommonBehaviourTabPage
+ class OMySQLODBCDetailsPage : public DBOCommonBehaviourTabPage
{
public:
- OMySQLODBCDetailsPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs );
+ OMySQLODBCDetailsPage(TabPageParent pParent, const SfxItemSet& rCoreAttrs);
};
// OGeneralSpecialJDBCDetailsPage