diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 10:13:34 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-27 10:13:34 +0100 |
commit | 36c323e365c3b480f10a2bb6c6227a4592f70c2a (patch) | |
tree | a405f066e25c852f729f97f874bd72d18251ed1c /oox/source/vml/vmlshapecontext.cxx | |
parent | 4e379b063e2a9cfd559d1e748e516fad3b04d44f (diff) |
RTL_CONSTASCII_USTRINGPARAM in filters 3-4
Diffstat (limited to 'oox/source/vml/vmlshapecontext.cxx')
-rw-r--r-- | oox/source/vml/vmlshapecontext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmlshapecontext.cxx b/oox/source/vml/vmlshapecontext.cxx index bdca6526ab6a..9a20ab40151c 100644 --- a/oox/source/vml/vmlshapecontext.cxx +++ b/oox/source/vml/vmlshapecontext.cxx @@ -294,7 +294,7 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 nElement, const Attri // Custom shape in Writer with a textbox are transformed into a frame if ( nElement == ( NMSP_VML + XML_textbox ) ) dynamic_cast<SimpleShape&>( mrShape ).setService( - OUString::createFromAscii( "com.sun.star.text.TextFrame" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.TextFrame")) ); // Excel specific shape client data if( isRootElement() && (nElement == VMLX_TOKEN( ClientData )) ) @@ -342,7 +342,7 @@ ContextHandlerRef RectangleShapeContext::onCreateContext( sal_Int32 nElement, co { if ( nElement == ( NMSP_VML + XML_textbox ) ) dynamic_cast< SimpleShape &>( mrShape ).setService( - OUString::createFromAscii( "com.sun.star.text.TextFrame" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.TextFrame")) ); // The parent class's context is fine return ShapeContext::onCreateContext( nElement, rAttribs ); |