diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-14 20:59:50 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-04-16 12:58:20 +0200 |
commit | b895c5c63f0eb8ca76406bbc4b2f59a3b216eb71 (patch) | |
tree | a0ba3be5398e053b61f8baef20eccc081a76deb7 /sd | |
parent | ef64455c9eb9404d67954555e4c70d77ebdf3059 (diff) |
fix assert on re-export of ooo48994-1.ppt to ppt
Change-Id: Ic8274e7d060f315d7891f8f5cf576f834ca89117
(cherry picked from commit eece059c1f728059b536763bffd2d4fc3537833e)
Reviewed-on: https://gerrit.libreoffice.org/15314
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
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 bf8bd4fd0807..2b13085d8d1d 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1138,7 +1138,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 ); |