diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-08-17 23:43:14 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-08-27 16:11:09 +0000 |
commit | 2ec606730bc95b58390a609df0a88958869a4066 (patch) | |
tree | 9c530b3f6b200305ba224dda2d02c9bf5aca2233 /dbaccess/source/ui/dlg/RelationDlg.cxx | |
parent | 434f3c8e7fac0644cfe1d7a15f97f0c267bac048 (diff) |
fdo#62475 removed pointless comments
Conflicts:
dbaccess/source/filter/xml/xmlfilter.cxx
dbaccess/source/ui/dlg/ConnectionPage.cxx
dbaccess/source/ui/dlg/detailpages.cxx
dbaccess/source/ui/dlg/odbcconfig.cxx
dbaccess/source/ui/querydesign/querycontroller.cxx
Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'dbaccess/source/ui/dlg/RelationDlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/RelationDlg.cxx | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index 0d4c5ec8dd49..d211173ab422 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -47,10 +47,8 @@ using namespace ::com::sun::star::beans; using namespace ::dbaui; using namespace ::dbtools; -//======================================================================== // class ORelationDialog DBG_NAME(ORelationDialog) -//======================================================================== ORelationDialog::ORelationDialog( OJoinTableView* pParent, const TTableConnectionData::value_type& pConnectionData, sal_Bool bAllowTableSelect ) @@ -79,7 +77,6 @@ ORelationDialog::ORelationDialog( OJoinTableView* pParent, m_xConnection = pParent->getDesignView()->getController().getConnection(); - ////////////////////////////////////////////////////////////////////// // Connection kopieren m_pConnData.reset( static_cast<ORelationTableConnectionData*>(pConnectionData->NewInstance()) ); m_pConnData->CopyFrom( *pConnectionData ); @@ -102,7 +99,6 @@ ORelationDialog::ORelationDialog( OJoinTableView* pParent, FreeResource(); } -//------------------------------------------------------------------------ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionData) { ORelationTableConnectionData* pConnData = static_cast<ORelationTableConnectionData*>(_pConnectionData.get()); @@ -147,19 +143,13 @@ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionD } } -//------------------------------------------------------------------------ ORelationDialog::~ORelationDialog() { DBG_DTOR(ORelationDialog,NULL); } -//------------------------------------------------------------------------ - - -//------------------------------------------------------------------------ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ ) { - ////////////////////////////////////////////////////////////////////// // RadioButtons auslesen sal_uInt16 nAttrib = 0; @@ -229,8 +219,6 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ ) return 0; } - -//------------------------------------------------------------------------ short ORelationDialog::Execute() { short nResult = ModalDialog::Execute(); @@ -239,22 +227,20 @@ short ORelationDialog::Execute() return nResult; } -// ----------------------------------------------------------------------------- + TTableConnectionData::value_type ORelationDialog::getConnectionData() const { return m_pConnData; } -// ----------------------------------------------------------------------------- + void ORelationDialog::setValid(sal_Bool _bValid) { aPB_OK.Enable(_bValid); } -// ----------------------------------------------------------------------------- + void ORelationDialog::notifyConnectionChange() { Init(m_pConnData); } -// ----------------------------------------------------------------------------- - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |