vcl/source/window/dialog.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 328a69253b063b0d4b53794a285cfb412706256a Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Mar 20 17:28:18 2018 +0100
loplugin:unreffun Change-Id: I7ed192011a930ea871d7efd2d966e6b746e2da3f Reviewed-on: https://gerrit.libreoffice.org/51656 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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() { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits