<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 01/11/2019 12:53, Eike Rathke wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20191101125325.GG26424@remotee.erack.redhat.com">
<pre class="moz-quote-pre" wrap="">Hi mcmurchy1917techy,
On Wednesday, 2019-10-30 12:14:14 +0000, mcmurchy1917techy wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">The file libfreehand_utils.cpp, in the current external libfreehand tarball,
has an error in it that stops LO compiling.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">And the error is ...?
Eike</pre>
</blockquote>
<p>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.<br>
<br>
Missing semicolon.<br>
<br>
> 153 void libfreehand::_appendUTF16(librevenge::RVNGString
&text, std::vector<unsigned short> &characters)<br>
> 154 {<br>
> 155 if (characters.empty())<br>
> 156 return;<br>
> 157<br>
> 158 const unsigned short *s = &characters[0];<br>
> 159 int j = 0;<br>
> 160 int length = characters.size();<br>
> 161<br>
> 162 while (j < length)<br>
> 163 {<br>
> 164 UChar32 c;<br>
> 165 U16_NEXT(s, j, length, c)<br>
> 166 unsigned char outbuf[U8_MAX_LENGTH+1];<br>
> 167 int i = 0;<br>
> 168 U8_APPEND_UNSAFE(&outbuf[0], i, c);<br>
> 169 outbuf[i] = 0;<br>
> 170<br>
> 171 text.append((char *)outbuf);<br>
> 172 }<br>
> 173 }<br>
</p>
<p>Alex<br>
</p>
</body>
</html>