summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterHelper.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sd/source/ui/presenter/PresenterHelper.cxx b/sd/source/ui/presenter/PresenterHelper.cxx
index 6d621b8af4a9..9e5e54cca907 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -139,14 +139,13 @@ Reference<rendering::XCanvas> SAL_CALL PresenterHelper::createCanvas (
if (!pWindow)
throw RuntimeException();
- Sequence<Any> aArg (5);
+ Sequence<Any> aArg(4);
// common: first any is VCL pointer to window (for VCL canvas)
aArg[0] <<= reinterpret_cast<sal_Int64>(pWindow.get());
- aArg[1] = Any();
- aArg[2] <<= css::awt::Rectangle();
- aArg[3] <<= false;
- aArg[4] <<= rxWindow;
+ aArg[1] <<= css::awt::Rectangle();
+ aArg[2] <<= false;
+ aArg[3] <<= rxWindow;
Reference<lang::XMultiServiceFactory> xFactory (
mxComponentContext->getServiceManager(), UNO_QUERY_THROW);