diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-22 06:31:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 11:37:04 +0000 |
commit | 66823037e164af16f2cb24c4299c8776869c682c (patch) | |
tree | c84ee83de326cd169564644edfec07f9370cc8d2 /chart2 | |
parent | 1cb538925ddba61d87b71640475282f60f27ce42 (diff) |
make chart2 ByteString free
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx index c0f17516a590..d14aeb704630 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx @@ -380,7 +380,7 @@ void WrappedSymbolBitmapURLProperty::setValueToSeries( if( bMatchesPrefix ) { GraphicObject aGrObj = GraphicObject( - ByteString( U2C( aNewGraphicURL.copy( sizeof( UNO_NAME_GRAPHOBJ_URLPREFIX ) - 1 )))); + rtl::OUStringToOString(aNewGraphicURL.copy( RTL_CONSTASCII_LENGTH(UNO_NAME_GRAPHOBJ_URLPREFIX) ), RTL_TEXTENCODING_ASCII_US)); aSymbol.Graphic.set( aGrObj.GetGraphic().GetXGraphic()); xSeriesPropertySet->setPropertyValue( C2U("Symbol"), uno::makeAny( aSymbol ) ); } |