summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/templdlg.hxx6
-rw-r--r--svtools/source/contnr/templwin.cxx35
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;