summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-26 08:47:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-29 14:12:47 +0100
commit506a1b1e3d23e1e9cf0cf2e43d00447ccdcbbd92 (patch)
treefbd6a97ea7279599ffc31486fc58d8a65cfc3db3 /sw/source/filter/xml/xmltbli.hxx
parentad01b0031688a3e3bb1741e4732bfa8762635478 (diff)
Assume this wants to cap GetColumnCount()*MINLAY <= m_nWidth <= USHRT_MAX
...even if GetColumnCount()*MINLAY > USHRT_MAX could ever be true, in which case it will now cap m_nWidth == USHRT_MAX. (The original code didn't have the cast of GetColumnCount() to sal_Int32, then 7e7c8a51f05ef2c7c56b26e27328ad4b30655740 "#80552#: bug fixes for progress" added a---presumably misplaced---C-style cast to the check (but not the assignment), presumably to silence some signed-vs-unsigned warning.) Change-Id: I2403ee3c5e8fe35ae2a7a7b7da9081a7fb7b59b1 Reviewed-on: https://gerrit.libreoffice.org/48654 Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/filter/xml/xmltbli.hxx')
0 files changed, 0 insertions, 0 deletions