[Libreoffice-commits] core.git: svtools/source
Takeshi Abe
tabe at fixedpoint.jp
Fri Jul 4 11:54:30 PDT 2014
svtools/source/brwbox/brwbox1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8c95c0e71aa6c006de8a7a706dd17a22366ed4c7
Author: Takeshi Abe <tabe at 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 <nthiebaud at gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud at 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 )
More information about the Libreoffice-commits
mailing list