diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 09:02:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 15:01:04 +0100 |
commit | ac58231a01186d0935d0ff5fb2485d8750ed5022 (patch) | |
tree | 386ecb69491890ca62bd049a45bb7ee26e8dd5f5 /svx/source/unodraw/unoshap4.cxx | |
parent | 8df9025eac81d8a65162c396d28d176c084d16b3 (diff) |
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index a7c08e759a99..7b642e6e061b 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -407,8 +407,10 @@ bool SvxOle2Shape::getPropertyValueImpl( const ::rtl::OUString& rName, const Sfx if( pGraphic ) { GraphicObject aObj( *pGraphic ); - aURL = OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_GRAPHOBJ_URLPREFIX)); - aURL += OUString::createFromAscii( aObj.GetUniqueID().GetBuffer() ); + aURL = OUString(RTL_CONSTASCII_USTRINGPARAM( + UNO_NAME_GRAPHOBJ_URLPREFIX)); + aURL += rtl::OStringToOUString(aObj.GetUniqueID(), + RTL_TEXTENCODING_ASCII_US); } } rValue <<= aURL; |