Kaydet (Commit) 8e3bf159 authored tarafından Luboš Luňák's avatar Luboš Luňák

avoid unwanted silent conversion to bool

Apparently there's no overload for const sal_Unicode*, so the pointer
gets silently converted to bool, but there's one for const char*.

Change-Id: I52bc13a19111a04c6d17029f44a262387aeff6d9
üst ba37e406
......@@ -2522,8 +2522,8 @@ Writer& OutHTML_SwTxtNode( Writer& rWrt, const SwCntntNode& rNode )
// #i120442#: if c is outside the unicode base plane output it as "&#******;"
else if( c > 0xffff)
{
OUString sOut("&#");
sOut += OUString::number( (sal_uInt64)c );
OString sOut("&#");
sOut += OString::number( (sal_uInt64)c );
sOut += ";";
rWrt.Strm() << sOut.getStr();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment