diff options
Diffstat (limited to 'svx/source/xoutdev/xattrbmp.cxx')
-rw-r--r-- | svx/source/xoutdev/xattrbmp.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx index 5f3237d1b7b1..1f421c4a5d7b 100644 --- a/svx/source/xoutdev/xattrbmp.cxx +++ b/svx/source/xoutdev/xattrbmp.cxx @@ -639,8 +639,11 @@ bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 nM nMemberId == 0 ) { XOBitmap aLocalXOBitmap( GetBitmapValue() ); - aURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_GRAPHOBJ_URLPREFIX)); - aURL += ::rtl::OUString::createFromAscii( aLocalXOBitmap.GetGraphicObject().GetUniqueID().GetBuffer() ); + aURL = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + UNO_NAME_GRAPHOBJ_URLPREFIX)); + aURL += ::rtl::OStringToOUString( + aLocalXOBitmap.GetGraphicObject().GetUniqueID(), + RTL_TEXTENCODING_ASCII_US); } if( nMemberId == MID_BITMAP || nMemberId == 0 ) |