diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 09:31:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:05:46 +0200 |
commit | 1591130dc2b62e5fdec45274b1b06d63df0051b3 (patch) | |
tree | 2f6736be149d5341aac9b3120f47c43af6aec332 /drawinglayer | |
parent | abe49a84273f79b11f333136bedfc753d79bf306 (diff) |
convert DRAWINGLAYER module from String to OUString
Change-Id: I0856974cb9fe33418e3be0a5b977100be3bdce00
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index c9f4af1c3784..85cb9871c574 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1008,8 +1008,8 @@ namespace drawinglayer case drawinglayer::primitive2d::FIELD_TYPE_URL : { const OUString& rURL = rFieldPrimitive.getString(); - const String aOldString(rURL); - mpMetaFile->AddAction(new MetaCommentAction(aCommentStringCommon, 0, reinterpret_cast< const sal_uInt8* >(aOldString.GetBuffer()), 2 * aOldString.Len())); + const OUString aOldString(rURL); + mpMetaFile->AddAction(new MetaCommentAction(aCommentStringCommon, 0, reinterpret_cast< const sal_uInt8* >(aOldString.getStr()), 2 * aOldString.getLength())); break; } } |