diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-09-11 07:00:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 14:27:45 +0200 |
commit | 3b2df17f8e1b8b4d90dda691c79ffda9d2643bae (patch) | |
tree | 6863ea14ccdd3e07bf9650d0c009a5459c36b92c /vcl/unx | |
parent | 7ca4ea54b4d610104df1b88ae5b04c2081a4a429 (diff) |
cppcheck: knownConditionTrueFalse
Change-Id: I216635d7eed8d32c84b44fc80db2e6047b8ee252
Reviewed-on: https://gerrit.libreoffice.org/42158
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/salprn-gtk.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx index f82525481731..09c26aab4aab 100644 --- a/vcl/unx/gtk/salprn-gtk.cxx +++ b/vcl/unx/gtk/salprn-gtk.cxx @@ -435,7 +435,6 @@ GtkPrintDialog::impl_initCustomTab() GtkWidget* pCurParent = nullptr; GtkWidget* pCurTabPage = nullptr; GtkWidget* pCurSubGroup = nullptr; - GtkWidget* pStandardPrintRangeContainer = nullptr; bool bIgnoreSubgroup = false; for (int i = 0; i != rOptions.getLength(); i++) { @@ -723,9 +722,6 @@ GtkPrintDialog::impl_initCustomTab() } } - if (pStandardPrintRangeContainer) - gtk_widget_destroy(pStandardPrintRangeContainer); - CustomTabs_t::const_reverse_iterator aEnd = aCustomTabs.rend(); for (CustomTabs_t::const_reverse_iterator aI = aCustomTabs.rbegin(); aI != aEnd; ++aI) { |