summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/shapeimporter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/shapeimporter.cxx')
-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 );