diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-03-20 17:28:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-03-21 09:28:36 +0100 |
commit | 328a69253b063b0d4b53794a285cfb412706256a (patch) | |
tree | 31f09c53e6b3bcdc00efec2fe419a185811a5c73 /vcl | |
parent | 3613c299f6e6c44bb7f106450d9210037bc18c37 (diff) |
loplugin:unreffun
Change-Id: I7ed192011a930ea871d7efd2d966e6b746e2da3f
Reviewed-on: https://gerrit.libreoffice.org/51656
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 40eccbd30378..36d77298d767 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -346,6 +346,7 @@ struct DialogImpl DialogImpl() : mnResult( -1 ), mbStartedModal( false ) {} +#ifndef NDEBUG short get_response(vcl::Window *pWindow) const { auto aFind = maResponses.find(pWindow); @@ -353,6 +354,7 @@ struct DialogImpl return aFind->second; return RET_CANCEL; } +#endif ~DialogImpl() { |