Kaydet (Commit) 571f49ff authored tarafından Raymond Wells's avatar Raymond Wells Kaydeden (comit) Markus Mohrhard

fdo#60889: FILEOPEN: Incorrect opening XLSX file (sharedStrings.xml)

Change-Id: I2fc39999ecdb13eecc28e012debdeda811e98581
Reviewed-on: https://gerrit.libreoffice.org/5763Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 4c63fd10
......@@ -213,7 +213,8 @@ void WorkbookFragment::finalizeImport()
// read the shared string table substream (requires finalized styles buffer)
OUString aSstFragmentPath = getFragmentPathFromFirstType( CREATE_OFFICEDOC_RELATION_TYPE( "sharedStrings" ) );
if( !aSstFragmentPath.isEmpty() )
importOoxFragment( new SharedStringsFragment( *this, aSstFragmentPath ) );
if (!importOoxFragment( new SharedStringsFragment( *this, aSstFragmentPath ) ))
importOoxFragment(new SharedStringsFragment(*this, aSstFragmentPath.replaceFirst("sharedStrings","SharedStrings")));
xGlobalSegment->setPosition( 0.75 );
// read the connections substream
......
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