On 01/11/2019 12:53, Eike Rathke wrote:
Hi mcmurchy1917techy,
On Wednesday, 2019-10-30 12:14:14 +0000, mcmurchy1917techy wrote:
The file libfreehand_utils.cpp, in the current external libfreehand tarball,
has an error in it that stops LO compiling.
And the error is ...?
   Eike
The error was at line 165 in the file src/lib/libfreehand_utils.cpp 
within the external tarball libfreehand-0.1.2.tar.xz. So not an LO error.
Missing semicolon.
>    153  void libfreehand::_appendUTF16(librevenge::RVNGString &text, 
std::vector<unsigned short> &characters)
>    154  {
>    155    if (characters.empty())
>    156      return;
>    157
>    158    const unsigned short *s = &characters[0];
>    159    int j = 0;
>    160    int length = characters.size();
>    161
>    162    while (j < length)
>    163    {
>    164      UChar32 c;
>    165      U16_NEXT(s, j, length, c)
>    166      unsigned char outbuf[U8_MAX_LENGTH+1];
>    167      int i = 0;
>    168      U8_APPEND_UNSAFE(&outbuf[0], i, c);
>    169      outbuf[i] = 0;
>    170
>    171      text.append((char *)outbuf);
>    172    }
>    173  }
Alex
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.