summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-11 23:20:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-12 11:51:11 +0100
commita09a5142bc17cce62bc13fdeb4674feba39217d8 (patch)
tree16ccb69f84f2a161db01895057274946980f8d13 /filter
parentcallcatcher: unused code (diff)
downloadcore-a09a5142bc17cce62bc13fdeb4674feba39217d8.tar.gz
core-a09a5142bc17cce62bc13fdeb4674feba39217d8.zip
reduce ByteString api
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 2bd758eb91c6..6ad0a26b15b0 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -1199,7 +1199,7 @@ sal_Bool EscherPropertyContainer::CreateEmbeddedBitmapProperties(
nIndex = nIndex + aVndUrl.Len();
if( aBmpUrl.Len() > nIndex )
{
- ByteString aUniqueId( aBmpUrl, nIndex, aBmpUrl.Len() - nIndex, RTL_TEXTENCODING_UTF8 );
+ ByteString aUniqueId( aBmpUrl.Copy(nIndex, aBmpUrl.Len() - nIndex), RTL_TEXTENCODING_UTF8 );
bRetValue = ImplCreateEmbeddedBmp( aUniqueId );
if( bRetValue )
{
@@ -1368,7 +1368,7 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties(
{
nIndex = nIndex + aVndUrl.Len();
if ( aGraphicUrl.Len() > nIndex )
- aUniqueId = ByteString( aGraphicUrl, nIndex, aGraphicUrl.Len() - nIndex, RTL_TEXTENCODING_UTF8 );
+ aUniqueId = ByteString( aGraphicUrl.Copy(nIndex, aGraphicUrl.Len() - nIndex), RTL_TEXTENCODING_UTF8 );
}
else
{