summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-21 15:44:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-22 05:38:48 +0100
commitef6684337a3a99d6a1620e6cdb569888a77cacf8 (patch)
treead74ef842e90cd7b72fe806b969e2b62e65d5850 /writerperfect
parenta41c82407bbb73a4d87070326485ec4b4e954a65 (diff)
loplugin:unusedfields
Change-Id: Idaf9742358bcd485d6ac96593844b05bf0972fa7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143014 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/inc/WPFTEncodingDialog.hxx1
-rw-r--r--writerperfect/source/common/WPFTEncodingDialog.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
index 31df95826b90..be3ff99a3cc2 100644
--- a/writerperfect/inc/WPFTEncodingDialog.hxx
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -31,7 +31,6 @@ private:
bool m_userHasCancelled;
std::unique_ptr<weld::ComboBox> m_xLbCharset;
- std::unique_ptr<weld::Button> m_xBtnOk;
std::unique_ptr<weld::Button> m_xBtnCancel;
private:
diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx
index b0c955481fb5..d9fc0d9c1970 100644
--- a/writerperfect/source/common/WPFTEncodingDialog.cxx
+++ b/writerperfect/source/common/WPFTEncodingDialog.cxx
@@ -96,7 +96,6 @@ WPFTEncodingDialog::WPFTEncodingDialog(weld::Window* pParent, const OUString& ti
"WPFTEncodingDialog")
, m_userHasCancelled(false)
, m_xLbCharset(m_xBuilder->weld_combo_box("comboboxtext"))
- , m_xBtnOk(m_xBuilder->weld_button("ok"))
, m_xBtnCancel(m_xBuilder->weld_button("cancel"))
{
m_xBtnCancel->connect_clicked(LINK(this, WPFTEncodingDialog, CancelHdl));