diff options
Diffstat (limited to 'sd/source/ui/framework/factories/PresentationFactory.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/PresentationFactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx index fe8d1331a7f9..42df2c979b6a 100644 --- a/sd/source/ui/framework/factories/PresentationFactory.cxx +++ b/sd/source/ui/framework/factories/PresentationFactory.cxx @@ -174,7 +174,7 @@ void PresentationFactoryProvider::disposing() void SAL_CALL PresentationFactoryProvider::initialize( const Sequence<Any>& aArguments) { - if (aArguments.getLength() <= 0) + if (!aArguments.hasElements()) return; try |