summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuinsfil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuinsfil.cxx')
-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