summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/module/ModuleController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/module/ModuleController.cxx')
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index edfe932474f0..104cb91e152d 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -240,7 +240,7 @@ void SAL_CALL ModuleController::requestResource (const OUString& rsResourceURL)
void SAL_CALL ModuleController::initialize (const Sequence<Any>& aArguments)
{
- if (aArguments.getLength() > 0)
+ if (aArguments.hasElements())
{
try
{