"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sc/source/filter/excel/xecontent.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

xecontent.cxx  (libreoffice-7.1.5.1.tar.xz):xecontent.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 395 skipping to change at line 395
if (m_Repr.isEmpty()) if (m_Repr.isEmpty())
m_Repr = aFileName; m_Repr = aFileName;
msTarget = XclXmlUtils::ToOUString( aLink ); msTarget = XclXmlUtils::ToOUString( aLink );
if( bRel ) if( bRel )
{ {
for( int i = 0; i < nLevel; ++i ) for( int i = 0; i < nLevel; ++i )
msTarget = "../" + msTarget; msTarget = "../" + msTarget;
} }
else else if (rRoot.GetOutput() != EXC_OUTPUT_XML_2007)
{ {
// ooxml expects the file:/// part appended ( or at least // xls expects the file:/// part appended ( or at least
// ms2007 does, ms2010 is more tolerant ) // ms2007 does, ms2010 is more tolerant )
msTarget = "file:///" + msTarget; msTarget = "file:///" + msTarget;
} }
} }
else if( eProtocol != INetProtocol::NotValid ) else if( eProtocol != INetProtocol::NotValid )
{ {
XclExpString aUrl( aUrlObj.GetURLNoMark(), XclStrFlags::ForceUnicode, 25 5 ); XclExpString aUrl( aUrlObj.GetURLNoMark(), XclStrFlags::ForceUnicode, 25 5 );
aXclStrm << XclTools::maGuidUrlMoniker aXclStrm << XclTools::maGuidUrlMoniker
<< sal_uInt32( aUrl.GetBufferSize() + 2 ); // byte count + 1 trailing zero word << sal_uInt32( aUrl.GetBufferSize() + 2 ); // byte count + 1 trailing zero word
aUrl.WriteBuffer( aXclStrm ); // NO flags aUrl.WriteBuffer( aXclStrm ); // NO flags
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)