diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-06 23:42:55 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-07 00:08:33 +0100 |
commit | 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 (patch) | |
tree | cbb3cf9aa12f3950a3bcf71c06afeb48534655e5 /sd/source/ui/controller | |
parent | 32e927952cff4f715eceb861a3c4c8ab088be405 (diff) |
fix some memory leaks in sd
Change-Id: I7c7d0772a3d10601c6d1a9ea22c697abe762036d
Diffstat (limited to 'sd/source/ui/controller')
-rw-r--r-- | sd/source/ui/controller/slidelayoutcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx index bdea29aef1d0..5cce3a4f8492 100644 --- a/sd/source/ui/controller/slidelayoutcontroller.cxx +++ b/sd/source/ui/controller/slidelayoutcontroller.cxx @@ -331,7 +331,7 @@ Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( Ru Reference< XInterface > SAL_CALL SlideLayoutController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) { - return *new SlideLayoutController( rSMgr, ".uno:AssignLayout", false ); + return SlideLayoutController( rSMgr, ".uno:AssignLayout", false ); } // -------------------------------------------------------------------- @@ -354,7 +354,7 @@ Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( Ru Reference< XInterface > SAL_CALL InsertSlideController_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) { - return *new SlideLayoutController( rSMgr, ".uno:InsertPage" , true ); + return SlideLayoutController( rSMgr, ".uno:InsertPage" , true ); } //======================================================================== |