Kaydet (Commit) dae9a386 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-fsanitize=bool (during CppunitTest_writerperfect_writer)

...as libwps::WPSDocument::isFileFormatSupported doesn't necessarily write false
into its needCharSetEncoding param ("A flag set to true if we need the character
set encoding"), whether or not that's a good idea.

Change-Id: Ib094a0fed84b6e6ff66e9b8a2524f55a60de64ef
üst cf78adf5
......@@ -37,7 +37,7 @@ bool MSWorksImportFilter::doImportDocument(librevenge::RVNGInputStream &rInput,
{
libwps::WPSKind kind = libwps::WPS_TEXT;
libwps::WPSCreator creator;
bool needEncoding;
bool needEncoding = false;
const libwps::WPSConfidence confidence = libwps::WPSDocument::isFileFormatSupported(&rInput, kind, creator, needEncoding);
std::string fileEncoding("");
......
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