diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-11 23:20:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-12 11:51:11 +0100 |
commit | a09a5142bc17cce62bc13fdeb4674feba39217d8 (patch) | |
tree | 16ccb69f84f2a161db01895057274946980f8d13 /sd/source | |
parent | 2e3f7cc4125cbd4245030122eeb9608af3b7997b (diff) |
reduce ByteString api
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 8b0b7612ebc6..bf6499ca8f42 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -905,7 +905,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1 nIndex++; if ( aGraphicURL.Len() > nIndex ) { - ByteString aUniqueId( aGraphicURL, nIndex, aGraphicURL.Len() - nIndex, RTL_TEXTENCODING_UTF8 ); + ByteString aUniqueId( aGraphicURL.Copy(nIndex, aGraphicURL.Len() - nIndex), RTL_TEXTENCODING_UTF8 ); if ( aUniqueId.Len() ) { nBulletId = rBuProv.GetId( aUniqueId, aBuGraSize ); |