https://bugs.documentfoundation.org/show_bug.cgi?id=97998

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #5 from Julien Nabet <[email protected]> ---
Here's a straightforward patch:
diff --git a/sc/source/ui/docshell/docsh8.cxx
b/sc/source/ui/docshell/docsh8.cxx
index fe715fa66cf6..8aabdad1215c 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -565,7 +565,7 @@ void lcl_GetColumnTypes(
             sal_Unicode c;
             for ( const sal_Unicode* p = aFieldName.getStr(); ( c = *p ) != 0;
p++ )
             {
-                if ( rtl::isAsciiAlpha(c) || rtl::isAsciiDigit(c) || c == '_'
)
+                if ( rtl::isAsciiAlpha(c) || rtl::isAsciiDigit(c) || c == '_'
|| c == '$')
                     aTmpStr += OUStringLiteral1(c);
                 else
                     aTmpStr += "_";


Lionel: with hexdump, I saw that exported file was dBaseIII (see
http://opengrok.libreoffice.org/xref/core/connectivity/source/inc/dbase/DTable.hxx#dBaseIII)
I don't find any doc which indicates precisely filename constraints. I read
about 10 characters max and just ascii. But I suppose you can't use any ascii
character.
Any thoughts?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to