diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2012-08-06 10:40:32 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-08-06 12:22:10 +0100 |
commit | cf239da5c403164e75c369173fe6bed747de9e09 (patch) | |
tree | 38999901baaf3091692d7649c7804f224b661a99 /scripting/source | |
parent | 515ceca5153d67ea602ab8c4fb339a7b42e9063e (diff) |
There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.
Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 5f1fbb225db7..1edc4e97e0a2 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -153,7 +153,7 @@ Reference< provider::XScriptProvider > Reference< provider::XScriptProvider > msp; try { - if ( context.indexOf( OUSTR( "vnd.sun.star.tdoc" ) ) == 0 ) + if ( context.indexOf( "vnd.sun.star.tdoc" ) == 0 ) { Reference< frame::XModel > xModel( MiscUtils::tDocUrlToModel( context ) ); |