summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2024-09-08 14:32:32 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-09-09 11:58:54 +0200
commit4bbc45eb48f91a552a9583b6aad4d59b2dac96f8 (patch)
tree99383760bdfa930534372a030880cb1f290662c4 /vcl
parent23e9fe3b8f71f7d47b0e4a132252efb91cac9e6d (diff)
tdf#162852 Fix minimum comment sidebar width
If the mouse is released over the document, the value of nPxWidth can get negative, so we need a signed integer variable here to make std::clamp work as expected. Change-Id: I721b53e9eddee4f02ad31718f8c7187242ba44e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173016 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> (cherry picked from commit 005eaf799a1e5424751d059afc09c92ea9b29566) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173021
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions