diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2017-06-25 17:21:45 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2017-07-02 13:28:20 +0200 |
commit | 7f1465a9599e9665159dd2d823a6e9064cca5703 (patch) | |
tree | 4d0db6763f43e76819bdd877141bef20cf3c260e /sc/CppunitTest_sc_ucalc.mk | |
parent | 3f4a92cbfda902ea462aec7f6b06062a20b3042c (diff) |
tdf#108789 and others: overhaul DBase files encoding handling
- Calc: make the complete "what encoding to use" decision before
calling the connectivity driver, so that the driver has
no ambiguity about whether it should override our setting
or not.
To this end, factorise the part of the driver that reads
the encoding from the file header into dbtools.
- Calc: don't ask for encoding when the file's header give the encoding.
- don't confuse CP850 (the default) and "don't know", including:
* don't ignore CP850 user setting
* don't overwrite user setting with CP850
Thanks to Julien Nabet for the extensive collaboration on this.
Change-Id: Id80b7c505858b88f717b0ce6bd890527909e5fd1
Diffstat (limited to 'sc/CppunitTest_sc_ucalc.mk')
-rw-r--r-- | sc/CppunitTest_sc_ucalc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index d918182a0c4f..d423f6c73a7b 100644 --- a/sc/CppunitTest_sc_ucalc.mk +++ b/sc/CppunitTest_sc_ucalc.mk @@ -45,6 +45,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc, \ comphelper \ cppu \ cppuhelper \ + dbtools \ drawinglayer \ editeng \ for \ |