summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-09 23:26:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-12 09:09:59 +0100
commit6b72a64543a73e8f57b31dab8d0882a1673c7f85 (patch)
tree136d27eb36bafefc747932148f5285370e3db344
parent64a377efa5ecf685ddd4c2e2be8bcf782b6485f2 (diff)
make slideshow ByteString free
-rw-r--r--slideshow/source/engine/shapes/shapeimporter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index 5971082a4242..de79468252b4 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -114,8 +114,8 @@ bool importShapeGraphic(
// unguarded internal singleton mpGlobalMgr)
// fetch already loaded graphic from graphic manager.
- ByteString const aOldString( static_cast<String>(aUniqueId),
- RTL_TEXTENCODING_UTF8 );
+ rtl::OString const aOldString(rtl::OUStringToOString(aUniqueId,
+ RTL_TEXTENCODING_UTF8));
o_rGraphic = GraphicObject( aOldString );