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 /svtools | |
parent | chart2: merge component files for new chartcore library (diff) | |
download | core-cf239da5c403164e75c369173fe6bed747de9e09.tar.gz core-cf239da5c403164e75c369173fe6bed747de9e09.zip |
There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.
Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index aadd6bf98b8a..a85cf1f1968b 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -2112,7 +2112,7 @@ sal_Bool TransferableDataHelper::GetFileList( if( GetSotStorageStream( aFlavor, xStm ) ) { - if( aFlavor.MimeType.indexOf( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "text/uri-list" )) ) > -1 ) + if( aFlavor.MimeType.indexOf( "text/uri-list" ) > -1 ) { rtl::OString aDiskString; |