diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /cui/source/options/doclinkdialog.cxx | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/options/doclinkdialog.cxx')
-rw-r--r-- | cui/source/options/doclinkdialog.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/options/doclinkdialog.cxx b/cui/source/options/doclinkdialog.cxx index 3e9d2f6f136b..78e8901df9ee 100644 --- a/cui/source/options/doclinkdialog.cxx +++ b/cui/source/options/doclinkdialog.cxx @@ -42,7 +42,7 @@ namespace svx //================================================================== //= ODocumentLinkDialog //================================================================== - //------------------------------------------------------------------ + ODocumentLinkDialog::ODocumentLinkDialog( Window* _pParent, sal_Bool _bCreateNew ) : ModalDialog(_pParent, "DatabaseLinkDialog", "cui/ui/databaselinkdialog.ui") @@ -70,7 +70,7 @@ namespace svx m_pURL->SetDropDownLineCount( 5 ); } - //------------------------------------------------------------------ + void ODocumentLinkDialog::setLink( const OUString& _rName, const OUString& _rURL ) { m_pName->SetText(_rName); @@ -78,21 +78,21 @@ namespace svx validate(); } - //------------------------------------------------------------------ + void ODocumentLinkDialog::getLink( OUString& _rName, OUString& _rURL ) const { _rName = m_pName->GetText(); _rURL = m_pURL->GetText(); } - //------------------------------------------------------------------ + void ODocumentLinkDialog::validate( ) { m_pOK->Enable( ( !m_pName->GetText().isEmpty()) && ( !m_pURL->GetText().isEmpty() ) ); } - //------------------------------------------------------------------ + IMPL_LINK_NOARG(ODocumentLinkDialog, OnOk) { // get the current URL @@ -150,7 +150,7 @@ namespace svx return 0L; } - //------------------------------------------------------------------ + IMPL_LINK_NOARG(ODocumentLinkDialog, OnBrowseFile) { ::sfx2::FileDialogHelper aFileDlg( @@ -195,7 +195,7 @@ namespace svx return 0L; } - //------------------------------------------------------------------ + IMPL_LINK_NOARG(ODocumentLinkDialog, OnTextModified) { validate( ); |