diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-07-24 06:19:21 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-07-24 06:19:21 -0700 |
commit | 3f14d0b924673d5746251442682ca431511979b3 (patch) | |
tree | 274370821ff35b8725000fb7b7059d8c3bd0ba5f /svtools | |
parent | More iOS baby steps (diff) | |
download | core-3f14d0b924673d5746251442682ca431511979b3.tar.gz core-3f14d0b924673d5746251442682ca431511979b3.zip |
unusedcode.easy: Class SvtDocumentTemplateDialog cleanup
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/templdlg.hxx | 6 | ||||
-rw-r--r-- | svtools/source/contnr/templwin.cxx | 35 |
2 files changed, 0 insertions, 41 deletions
diff --git a/svtools/inc/svtools/templdlg.hxx b/svtools/inc/svtools/templdlg.hxx index ba62c3ec5a89..4765dbb6a643 100644 --- a/svtools/inc/svtools/templdlg.hxx +++ b/svtools/inc/svtools/templdlg.hxx @@ -74,14 +74,8 @@ public: </ul> */ - struct SelectOnly { }; - SvtDocumentTemplateDialog( Window* _pParent, SelectOnly ); - ~SvtDocumentTemplateDialog(); - sal_Bool IsFileSelected( ) const; - String GetSelectedFileURL( ) const; - void SelectTemplateFolder(); private: diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index 19dcdb26dd87..7650fa534f77 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -1693,27 +1693,6 @@ uno::Reference< util::XOfficeInstallationDirectories > SvtTmplDlg_Impl::getOffic // class SvtDocumentTemplateDialog --------------------------------------- -SvtDocumentTemplateDialog::SvtDocumentTemplateDialog( Window* _pParent, SelectOnly ) : - ModalDialog( _pParent, SvtResId( DLG_DOCTEMPLATE ) ), - - aMoreTemplatesLink ( this, SvtResId( FT_DOCTEMPLATE_LINK ) ), - aLine ( this, SvtResId( FL_DOCTEMPLATE ) ), - aManageBtn ( this, SvtResId( BTN_DOCTEMPLATE_MANAGE ) ), - aEditBtn ( this, SvtResId( BTN_DOCTEMPLATE_EDIT ) ), - aOKBtn ( this, SvtResId( BTN_DOCTEMPLATE_OPEN ) ), - aCancelBtn ( this, SvtResId( BTN_DOCTEMPLATE_CANCEL ) ), - aHelpBtn ( this, SvtResId( BTN_DOCTEMPLATE_HELP ) ), - pImpl ( NULL ) -{ - FreeResource(); - InitImpl( ); - - // no editing of templates - aEditBtn.Hide(); - - pImpl->bSelectNoOpen = sal_True; -} - // ------------------------------------------------------------------------ SvtDocumentTemplateDialog::SvtDocumentTemplateDialog( Window* pParent ) : @@ -1818,20 +1797,6 @@ SvtDocumentTemplateDialog::~SvtDocumentTemplateDialog() // ------------------------------------------------------------------------ -sal_Bool SvtDocumentTemplateDialog::IsFileSelected( ) const -{ - return pImpl->pWin->IsFileSelected(); -} - -// ------------------------------------------------------------------------ - -String SvtDocumentTemplateDialog::GetSelectedFileURL( ) const -{ - return pImpl->pWin->GetSelectedFile(); -} - -// ------------------------------------------------------------------------ - sal_Bool SvtDocumentTemplateDialog::CanEnableEditBtn() const { sal_Bool bEnable = sal_False; |