Re: Writer problem with a dangling SwModify pointer

2015-06-09 Thread Stephan Bergmann
On 06/01/2015 07:26 PM, Németh László wrote: _ImplAdjustVertRelPos( ) function was for only limiting a numerical value (vertical position of text frames) without any modification of its arguments, but I extended it with a direct modification of a frame attribute using this SetFlyFrmAttr call. I

Re: Writer problem with a dangling SwModify pointer

2015-06-09 Thread Németh László
Hi Stephan, I have checked Tamás and my changes, and both of them work well with your fix. Many thanks for it and for the detailed commit message! Best regards, László 2015-06-09 11:27 GMT+02:00 Stephan Bergmann sberg...@redhat.com: On 06/01/2015 07:26 PM, Németh László wrote:

Re: Writer problem with a dangling SwModify pointer

2015-06-02 Thread Németh László
Hi Stephan, _ImplAdjustVertRelPos( ) function was for only limiting a numerical value (vertical position of text frames) without any modification of its arguments, but I extended it with a direct modification of a frame attribute using this SetFlyFrmAttr call. I am afraid, this was a bad idea,

Writer problem with a dangling SwModify pointer

2015-06-01 Thread Stephan Bergmann
I'm chasing a problem that my UBSan build originally pointed me at, but where I fail to make good progress. Maybe some Writer expert has a clue. I have broken it down to two pieces of information: For one, valgrind reports a dangling SwModify pointer toward the end of