diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-06 23:34:38 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-06 23:38:38 +0100 |
commit | e48d47469508dee55ae6abcb3988222b5612e1e9 (patch) | |
tree | eb6fd25a5003f470fbdc33572d38eaa6f7a6cad1 /sc/source/ui/unoobj/scdetect.cxx | |
parent | 129e7572849852eb223f6b13bad48b727955af7e (diff) |
fix some memory leaks in sc
Change-Id: I1e3b9a55561f941346cb9f553f960dc2bafbb1b6
Diffstat (limited to 'sc/source/ui/unoobj/scdetect.cxx')
-rw-r--r-- | sc/source/ui/unoobj/scdetect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx index c9d892ffd2d7..9ef418e162ad 100644 --- a/sc/source/ui/unoobj/scdetect.cxx +++ b/sc/source/ui/unoobj/scdetect.cxx @@ -930,7 +930,7 @@ OUString ScFilterDetect::impl_getStaticImplementationName() /* Helper for registry */ UNOREFERENCE< UNOXINTERFACE > SAL_CALL ScFilterDetect::impl_createInstance( const UNOREFERENCE< UNOXMULTISERVICEFACTORY >& xServiceManager ) throw( UNOEXCEPTION ) { - return UNOREFERENCE< UNOXINTERFACE >( *new ScFilterDetect( xServiceManager ) ); + return UNOREFERENCE< UNOXINTERFACE >( ScFilterDetect( xServiceManager ) ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |