On Fri, 2011-09-16 at 23:14 +0200, Andras Timar wrote:
Hi Caolan,
... helpex tool does not work as expected ... Could you please check
 what went wrong?
Went wrong with my 13caa83dca4e1507a6e0213bd122d13af570d132
I removed the redundant charset parameter of
MergeDataFile::MergeDataFile, so
it went from a five argument ctor with one terminal default argument to
a four argument ctor with one terminal default argument. i.e.
-MergeDataFile( const ByteString &rFileName, const ByteString& rFile ,
sal_Bool bErrLog, CharSet aCharSet, bool bCaseSensitive = false );
+MergeDataFile( const ByteString &rFileName, const ByteString& rFile,
bool bErrLog, bool bCaseSensitive = false );
I had *thought* I had converted all callers, but I missed the helpex one
so its call of
MergeDataFile(sSDFFile, sInputFile, sal_False, RTL_TEXTENCODING_MS1252)
used to call, due to the default argument
MergeDataFile(sSDFFile, sInputFile, sal_False, RTL_TEXTENCODING_MS1252,
false)
but after removal of the charset argument in
MergeDataFile::MergeDataFile the
unchanged line of
MergeDataFile(sSDFFile, sInputFile, sal_False, RTL_TEXTENCODING_MS1252);
no longer expands to
MergeDataFile(sSDFFile, sInputFile, sal_False, RTL_TEXTENCODING_MS1252,
false);
but instead the charset arg is used to override the default argument,
i.e.
MergeDataFile(sSDFFile, sInputFile, sal_False, true);
so bCaseSensitive went from false to true, *splat*
Should be fixed with commit ec303dfe52f7ba78ffba2a5327fda38abfef5d6f
Let me know if that doesn't work.
C.
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.