summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-04 23:31:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 07:34:57 +0200
commit88a5f7769ed39c976129652db7de43e69c925e3c (patch)
tree704ebdea46482d646a84c3599ed4478887fcb39f /sd/source/ui/func
parent4b85108773f9851f358a4daa8869eeadc638d103 (diff)
Upcoming loplugin:elidestringvar: sd
Change-Id: I5eb606a68c9d1f777cbc896904db0ddce20c68f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95543 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/fuinsfil.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index a916ab0dad28..acb012fdbf1a 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -174,8 +174,7 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
lcl_AddFilter( aFilterVector, pFilter );
// get Powerpoint filter
- OUString aExt = ".ppt";
- pFilter = aMatch.GetFilter4Extension( aExt );
+ pFilter = aMatch.GetFilter4Extension( ".ppt" );
lcl_AddFilter( aFilterVector, pFilter );
// Get other draw/impress filters