diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-15 21:35:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-15 23:44:55 +0200 |
commit | 3ec25899e05035ac882971637dfc9b6fa84437c9 (patch) | |
tree | f0955f19233ff86a46718e2e5d0d32aaa9f58ebc /sw/inc | |
parent | 3b6ee58652d99accd610425264114d1d5b3330df (diff) |
sw: fix temp file leak in SwIoSystem::GetFileFilter()
Change-Id: Id483d58a9de27a247880aedfe6bb3fe1d410129c
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/iodetect.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index c3ed1e2d63b9..fca893ebd2c7 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -94,7 +94,7 @@ public: /** Detect for the given file which filter should be used. The filter name is returned. If no filter could be found, the name of the ASCII filter is returned! */ - static const SfxFilter* GetFileFilter( const OUString& rFileName, const OUString& rPrefFltName, SfxMedium* pMedium = 0 ); + static const SfxFilter* GetFileFilter(const OUString& rFileName); static bool IsValidStgFilter( SotStorage& , const SfxFilter& ); static bool IsValidStgFilter( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, const SfxFilter& rFilter); |