diff options
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/QueryFolderName.hxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/fpicker/source/office/QueryFolderName.hxx b/fpicker/source/office/QueryFolderName.hxx index 24e6bb5d9880..11373dff5bd0 100644 --- a/fpicker/source/office/QueryFolderName.hxx +++ b/fpicker/source/office/QueryFolderName.hxx @@ -37,7 +37,7 @@ private: public: QueryFolderNameDialog(vcl::Window* _pParent, const OUString& rTitle, - const OUString& rDefaultText, OUString* pGroupName = nullptr); + const OUString& rDefaultText); virtual ~QueryFolderNameDialog(); virtual void dispose() override; OUString GetName() const { return m_pNameEdit->GetText(); } diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 251bd1352a23..eb15bfa19d54 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2749,7 +2749,7 @@ IMPL_LINK_NOARG_TYPED( SvtFileDialog, Split_Hdl, Splitter*, void ) } QueryFolderNameDialog::QueryFolderNameDialog(vcl::Window* _pParent, - const OUString& rTitle, const OUString& rDefaultText, OUString* pGroupName) + const OUString& rTitle, const OUString& rDefaultText) : ModalDialog(_pParent, "FolderNameDialog", "fps/ui/foldernamedialog.ui") { get(m_pNameEdit, "entry"); @@ -2761,9 +2761,6 @@ QueryFolderNameDialog::QueryFolderNameDialog(vcl::Window* _pParent, m_pNameEdit->SetSelection( Selection( 0, rDefaultText.getLength() ) ); m_pOKBtn->SetClickHdl( LINK( this, QueryFolderNameDialog, OKHdl ) ); m_pNameEdit->SetModifyHdl( LINK( this, QueryFolderNameDialog, NameHdl ) ); - - if (pGroupName) - m_pNameLine->set_label( *pGroupName ); }; QueryFolderNameDialog::~QueryFolderNameDialog() |