summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-12 11:32:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-12 11:09:43 +0000
commit774d2a94d31c14fb24c07a5c85220e5ef528ad20 (patch)
tree36c8b4ddc4572f55d208bc022802cbf3d18b71bc /fpicker
parent69ce52fbf26fab9239562d2bfd407db67cfb6ec8 (diff)
loplugin:constantparam in extensions..lotuswordpro
Change-Id: Ifb30d5d53536045638d872761626a1b60fa52dad Reviewed-on: https://gerrit.libreoffice.org/28831 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/QueryFolderName.hxx2
-rw-r--r--fpicker/source/office/iodlg.cxx5
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()