diff options
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/unoidl/unopool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx index 5791aa6984ed..6a4124bcfe62 100644 --- a/sd/source/ui/unoidl/unopool.cxx +++ b/sd/source/ui/unoidl/unopool.cxx @@ -83,7 +83,7 @@ void SdUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEnt uno::Reference< uno::XInterface > SdUnoCreatePool( SdDrawDocument* pDrawModel ) { - return static_cast<uno::XAggregation*>(new SdUnoDrawPool( pDrawModel )); + return static_cast<cppu::OWeakObject*>(new SdUnoDrawPool( pDrawModel )); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |