Re: [Libreoffice] [PATCH] Fix for dialog Manage Breakpoints crash

2011-11-29 Thread Niklas Johansson
In worst case it makes the program crash. This fix, stores the values. I'm not that experienced with C++ so could someone have a second look at this there might very well be a "cleaner" way of writing it. Good find! I think I would do it slightly different, the patch fixes the symptom correctl

Re: [Libreoffice] [PATCH] Fix for dialog Manage Breakpoints crash

2011-11-28 Thread Eike Rathke
Hi Niklas, On Monday, 2011-11-28 12:27:16 +0100, Niklas Johansson wrote: > In worst case it makes the program crash. This fix, stores > the values. I'm not that experienced with C++ so could someone have > a second look at this there might very well be a "cleaner" way of > writing it. Good find!

[Libreoffice] [PATCH] Fix for dialog Manage Breakpoints crash

2011-11-28 Thread Niklas Johansson
I started out trying to fix fdo 42778 and noticed that my initial description of the problem was a bit to narrow. It wasn't just the pass count that wasn't stored correctly but the breakpoints all together. In worst case it makes the program crash. This fix, stores the values. I'm not that exp