summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/ndgrf.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 09:02:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:04 +0100
commitac58231a01186d0935d0ff5fb2485d8750ed5022 (patch)
tree386ecb69491890ca62bd049a45bb7ee26e8dd5f5 /sw/source/core/graphic/ndgrf.cxx
parent8df9025eac81d8a65162c396d28d176c084d16b3 (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rwxr-xr-xsw/source/core/graphic/ndgrf.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index a8e6dc099a66..b407c9b5b385 100755
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -795,7 +795,8 @@ SvStream* SwGrfNode::_GetStreamForEmbedGrf(
String aExtStr = _aStrmName.Copy( nExtPos );
if ( GetGrfObj().GetType() != GRAPHIC_NONE )
{
- _aStrmName = String( GetGrfObj().GetUniqueID(), RTL_TEXTENCODING_ASCII_US );
+ _aStrmName = rtl::OStringToOUString(GetGrfObj().GetUniqueID(),
+ RTL_TEXTENCODING_ASCII_US);
_aStrmName += aExtStr;
}
}