svtools/source/brwbox/brwbox1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8c95c0e71aa6c006de8a7a706dd17a22366ed4c7 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Thu Jul 3 12:16:33 2014 +0900 first delete, then nullify Otherwise an unreachable can happen. Change-Id: I04f03fc97aa73eb0bf75ad71ca8a1cf2d3729c08 Reviewed-on: https://gerrit.libreoffice.org/10047 Tested-by: Norbert Thiebaud <nthieb...@gmail.com> Reviewed-by: Norbert Thiebaud <nthieb...@gmail.com> diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index a5f68dd..bde475f 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -2295,8 +2295,8 @@ void BrowseBox::SetMode( BrowserMode nMode ) } else { - pColSel = 0; delete pColSel; + pColSel = 0; } if ( bMultiSelection ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits