Kaydet (Commit) eece059c authored tarafından Caolán McNamara's avatar Caolán McNamara

fix assert on re-export of ooo48994-1.ppt to ppt

Change-Id: Ic8274e7d060f315d7891f8f5cf576f834ca89117
üst f02ef85f
...@@ -1140,7 +1140,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u ...@@ -1140,7 +1140,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
aFile = aFile.replaceAll( "/", "\\" ); aFile = aFile.replaceAll( "/", "\\" );
aTarget = aFile; aTarget = aFile;
} }
else if ( pFieldEntry->aFieldUrl[0] == '#' ) else if ( pFieldEntry->aFieldUrl.startsWith("#") )
{ {
OUString aPage( INetURLObject::decode( pFieldEntry->aFieldUrl, INetURLObject::DECODE_WITH_CHARSET ) ); OUString aPage( INetURLObject::decode( pFieldEntry->aFieldUrl, INetURLObject::DECODE_WITH_CHARSET ) );
aPage = aPage.copy( 1 ); aPage = aPage.copy( 1 );
......
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