Re: Compiling LO without libfreehand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux