connectivity/source/drivers/flat/ETable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41d31d5db80820dc679cd8ee4f2322d8816a0dd7
Author:     Laurent DEBOMY <laurent.deb...@canal-belletrud.fr>
AuthorDate: Wed Jun 11 11:37:23 2025 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Jun 11 18:31:15 2025 +0200

    Allows LibreOffice's Base flat file connector to accept more than 65,534 
characters per line. The maximum number of columns is 16,384, allowing 262,144 
characters per line gives 16 characters per field.
    
    Edit connectivity/source/drivers/flat/ETable.cxx
    
    Change-Id: I11e44879b31c872c9c74225fe1c9021edd4930a9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186360
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/connectivity/source/drivers/flat/ETable.cxx 
b/connectivity/source/drivers/flat/ETable.cxx
index 73b4f04bf668..cbf2f1805be5 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -855,7 +855,7 @@ bool OFlatTable::readLine(sal_Int32 * const pEndPos, 
sal_Int32 * const pStartPos
     {
         if (pStartPos)
             *pStartPos = static_cast<sal_Int32>(m_pFileStream->Tell());
-        m_pFileStream->ReadByteStringLine(m_aCurrentLine, nEncoding);
+        m_pFileStream->ReadByteStringLine(m_aCurrentLine, nEncoding, 262144);
         if (m_pFileStream->eof())
             return false;
 

Reply via email to