summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-10-04 13:54:00 +0200
committerEike Rathke <erack@redhat.com>2020-10-05 22:48:07 +0200
commitf90500754fac014638214b5e061832b2c518aab6 (patch)
tree33e3526a6c7dad243bac2e1e61e6f68b0d5f433d /sc
parentc6d8e4b36f9575267244119c0a7e6a2275168625 (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')
-rw-r--r--sc/source/filter/excel/xecontent.cxx2
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
{