diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 15:31:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-19 11:17:20 +0200 |
commit | b6f199556656752f6e873b5cd9aa1f9e69a49166 (patch) | |
tree | 6bc067fbbc98d13b071acd74b4e656af27083db7 /reportdesign/source/ui | |
parent | 87660c3334c5150f20f3a7dbcd8f660922a203a5 (diff) |
loplugin:unusedfields
Change-Id: I7dd5fc3d53df63fd2ee2caa71586f0f5e13f187e
Reviewed-on: https://gerrit.libreoffice.org/81078
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r-- | reportdesign/source/ui/dlg/CondFormat.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/CondFormat.hxx | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/reportdesign/source/ui/dlg/CondFormat.cxx b/reportdesign/source/ui/dlg/CondFormat.cxx index bb5df9b50c73..9af13bc81b01 100644 --- a/reportdesign/source/ui/dlg/CondFormat.cxx +++ b/reportdesign/source/ui/dlg/CondFormat.cxx @@ -86,7 +86,6 @@ namespace rptui : GenericDialogController(_pParent, "modules/dbreport/ui/condformatdialog.ui", "CondFormat") , m_rController(_rController) , m_xFormatConditions(_rxFormatConditions) - , m_bDeletingCondition(false) , m_bConstructed(false) , m_xScrollWindow(m_xBuilder->weld_scrolled_window("scrolledwindow")) , m_xConditionPlayground(m_xBuilder->weld_box("condPlaygroundDrawingarea")) @@ -201,13 +200,10 @@ namespace rptui else { bSetNewFocus = (*pos)->has_focus(); - m_bDeletingCondition = true; auto xMovedCondition = std::move(*pos); m_aConditions.erase(pos); m_xConditionPlayground->move(xMovedCondition->get_widget(), nullptr); - - m_bDeletingCondition = false; } if ( bSetNewFocus ) diff --git a/reportdesign/source/ui/inc/CondFormat.hxx b/reportdesign/source/ui/inc/CondFormat.hxx index a3260c134ecb..6e87acb9857d 100644 --- a/reportdesign/source/ui/inc/CondFormat.hxx +++ b/reportdesign/source/ui/inc/CondFormat.hxx @@ -66,7 +66,6 @@ namespace rptui css::uno::Reference< css::report::XReportControlModel > m_xCopy; - bool m_bDeletingCondition; bool m_bConstructed; std::unique_ptr<weld::ScrolledWindow> m_xScrollWindow; |