summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-06 23:42:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-07 00:08:33 +0100
commit5ea7e74c29f7279b6c31d38185ace576f68f4fb2 (patch)
treecbb3cf9aa12f3950a3bcf71c06afeb48534655e5 /sd/source/ui/unoidl
parent32e927952cff4f715eceb861a3c4c8ab088be405 (diff)
fix some memory leaks in sd
Change-Id: I7c7d0772a3d10601c6d1a9ea22c697abe762036d
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r--sd/source/ui/unoidl/sddetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx
index 0431e6e985d9..8a8bb9431776 100644
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -515,7 +515,7 @@ rtl::OUString SdFilterDetect::impl_getStaticImplementationName()
/* Helper for registry */
UNOREFERENCE< UNOXINTERFACE > SAL_CALL SdFilterDetect::impl_createInstance( const UNOREFERENCE< UNOXMULTISERVICEFACTORY >& xServiceManager ) throw( UNOEXCEPTION )
{
- return UNOREFERENCE< UNOXINTERFACE >( *new SdFilterDetect( xServiceManager ) );
+ return UNOREFERENCE< UNOXINTERFACE >( SdFilterDetect( xServiceManager ) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */