summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/vml/vmldrawing.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index 5293e1ec1e31..88282dd7870f 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -56,7 +56,8 @@ namespace {
OUString lclGetShapeId( sal_Int32 nShapeId )
{
// identifier consists of a literal NUL character, a lowercase 's', and the id
- return OUString( "\0s" ) + OUString::valueOf( nShapeId );
+ sal_Unicode aStr[2] = { '\0', 's' };
+ return OUString( aStr, 2 ) + OUString::valueOf( nShapeId );
}
/** Returns the numeric VML shape identifier from its textual representation. */