diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-07-25 08:25:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-07-25 09:50:45 +0200 |
commit | f17aec9f573f87e4a8fa5ccdf504897d745bb0a6 (patch) | |
tree | 3a64f1c6589045ca9031dc534fd60cd063219031 /oox | |
parent | a6e5726f186bf9d2a0ea91169649504c7396c539 (diff) |
vcl: fix assert fail on invalid user input in the vcl::WindowData ctor
This seems to be a problem since
ea5a0918c8c32309821ab239c4b95f4d6a3b5c12 (VCL add vcl::WindowPosSize
abstract class, 2022-06-02), which started asserting that the window
size is not negative. Which is fine, but then callers like the
vcl::WindowData ctor has to be adapted, since they get user input.
My user profile had a string like:
"1056298152,1049249376,-1906262000,-1906261808;5;0,0,0,0;"
passed to that ctor, so soffice failed to start up.
Just ignore the broken user input at the call-site.
Change-Id: I942b0f2dfc1a07f9514c120761e100691f6d1a59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137357
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'oox')
0 files changed, 0 insertions, 0 deletions