diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:37:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:37 +0200 |
commit | ca30ba7a390e770d4b420ce02ae769f54a682404 (patch) | |
tree | bd4c2dd1833581c6ec8e08dbf33f5c427d59598f /sd/source/filter/eppt | |
parent | cb0a4a43a52b2f9230dc676e8ffc8700d006ec0c (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I397db197dfa3108ee3c025a60dd9e437dd05a95d
Diffstat (limited to 'sd/source/filter/eppt')
-rw-r--r-- | sd/source/filter/eppt/pptexanimations.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index b629df7a6d7c..272916d3b267 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -920,7 +920,7 @@ sal_uInt32 AnimationExporter::GetPresetID( const OUString& rPreset, sal_uInt32 n sal_uInt32 nPresetId = 0; bPresetId = false; - if ( rPreset.match( OUString( "ppt_" ), 0 ) ) + if ( rPreset.match("ppt_", 0) ) { sal_Int32 nLast = rPreset.lastIndexOf( '_' ); if ( ( nLast != -1 ) && ( ( nLast + 1 ) < rPreset.getLength() ) ) |