summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlgrhlp.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2000-12-04 11:58:47 +0000
committerOliver Bolte <obo@openoffice.org>2000-12-04 11:58:47 +0000
commitd625d814dfc4b3ccc894f3bfc9525f35fcf9c9cf (patch)
treefcdaff8a3793ee27f8e1aa8318da04bb3f3cd455 /svx/source/xml/xmlgrhlp.cxx
parent35444c99208628e2d9bd2c20130d67cb5d922a69 (diff)
Parse error linux compiler
Diffstat (limited to 'svx/source/xml/xmlgrhlp.cxx')
-rw-r--r--svx/source/xml/xmlgrhlp.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 8d9e60498663..9d1264cc5631 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlgrhlp.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mib $
+ * last change: $Author: obo $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -183,7 +183,8 @@ Graphic SvXMLGraphicHelper::ImplReadGraphic( const ::rtl::OUString& rPictureStor
void SvXMLGraphicHelper::ImplWriteGraphic( const ::rtl::OUString& rPictureStorageName,
const ::rtl::OUString& rPictureStreamName )
{
- GraphicObject aGrfObject( ByteString( String( rPictureStreamName ), RTL_TEXTENCODING_ASCII_US ) );
+ String aPictureStreamName(rPictureStreamName);
+ GraphicObject aGrfObject( ByteString( aPictureStreamName, RTL_TEXTENCODING_ASCII_US ) );
if( aGrfObject.GetType() != GRAPHIC_NONE )
{