sd/source/filter/eppt/epptso.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f12510bf60c2261e8d7d3b843c815b12d411601e Author: Caolán McNamara <[email protected]> Date: Tue Apr 14 20:59:50 2015 +0100 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/15313 Tested-by: Michael Stahl <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 939751a..1082b6b 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 );
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
