diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-10-04 13:54:00 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2020-10-05 22:48:07 +0200 |
commit | f90500754fac014638214b5e061832b2c518aab6 (patch) | |
tree | 33e3526a6c7dad243bac2e1e61e6f68b0d5f433d /sc/source | |
parent | c6d8e4b36f9575267244119c0a7e6a2275168625 (diff) |
Related tdf#137167: reference Excel pb on limitation for data validity formula
Change-Id: I6910b761dc99c7a58c7fc1f84c4606ad8dbd729c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103913
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/xecontent.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index d73683deadd1..eaa14d7e580e 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -1750,6 +1750,8 @@ XclExpDV::XclExpDV( const XclExpRoot& rRoot, sal_uLong nScHandle ) : ::set_flag( mnFlags, EXC_DV_STRINGLIST ); // maximum length allowed in Excel is 255 characters, and don't end with an empty token + // It should be 8192 but Excel doesn't accept it for unknown reason + // See also https://bugs.documentfoundation.org/show_bug.cgi?id=137167#c2 for more details sal_uInt32 nLen = sFormulaBuf.getLength(); if( nLen > 256 ) // 255 + beginning quote mark { |