summaryrefslogtreecommitdiff
path: root/sd/source/filter/eppt
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-25 12:37:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-25 12:38:37 +0200
commitca30ba7a390e770d4b420ce02ae769f54a682404 (patch)
treebd4c2dd1833581c6ec8e08dbf33f5c427d59598f /sd/source/filter/eppt
parentcb0a4a43a52b2f9230dc676e8ffc8700d006ec0c (diff)
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I397db197dfa3108ee3c025a60dd9e437dd05a95d
Diffstat (limited to 'sd/source/filter/eppt')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
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() ) )