diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-14 20:59:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-14 21:00:46 +0100 |
commit | eece059c1f728059b536763bffd2d4fc3537833e (patch) | |
tree | 5df673e281eaec699efff7e6b46909d30ae5264b /sd | |
parent | f02ef85f4a5b6770cddf94ccc2eeb3c187d67b22 (diff) |
fix assert on re-export of ooo48994-1.ppt to ppt
Change-Id: Ic8274e7d060f315d7891f8f5cf576f834ca89117
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index b80f14350a0f..4223c585e47d 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1140,7 +1140,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u aFile = aFile.replaceAll( "/", "\\" ); aTarget = aFile; } - else if ( pFieldEntry->aFieldUrl[0] == '#' ) + else if ( pFieldEntry->aFieldUrl.startsWith("#") ) { OUString aPage( INetURLObject::decode( pFieldEntry->aFieldUrl, INetURLObject::DECODE_WITH_CHARSET ) ); aPage = aPage.copy( 1 ); |