[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 21 08:29:00 UTC 2018
vcl/source/window/dialog.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 328a69253b063b0d4b53794a285cfb412706256a
Author: Stephan Bergmann <sbergman at 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 <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at 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()
{
More information about the Libreoffice-commits
mailing list