summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneFactory.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneFactory.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx
index 4763893698df..bd6c7c4e0894 100644
--- a/sdext/source/presenter/PresenterPaneFactory.cxx
+++ b/sdext/source/presenter/PresenterPaneFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -149,7 +149,7 @@ void SAL_CALL PresenterPaneFactory::disposing (void)
if (xCC.is())
xCC->removeResourceFactoryForReference(this);
mxConfigurationControllerWeak = WeakReference<XConfigurationController>();
-
+
// Dispose the panes in the cache.
if (mpResourceCache.get() != NULL)
{
@@ -169,7 +169,7 @@ void SAL_CALL PresenterPaneFactory::disposing (void)
//----- XPaneFactory ----------------------------------------------------------
-
+
Reference<XResource> SAL_CALL PresenterPaneFactory::createResource (
const Reference<XResourceId>& rxPaneId)
throw (RuntimeException, IllegalArgumentException, WrappedTargetException)
@@ -260,11 +260,11 @@ Reference<XResource> PresenterPaneFactory::CreatePane (
{
if ( ! rxPaneId.is())
return NULL;
-
+
Reference<XConfigurationController> xCC (mxConfigurationControllerWeak);
if ( ! xCC.is())
return NULL;
-
+
Reference<XComponentContext> xContext (mxComponentContextWeak);
if ( ! xContext.is())
return NULL;
@@ -329,7 +329,7 @@ Reference<XResource> PresenterPaneFactory::CreatePane (
UNO_QUERY);
aArguments[5] <<= bIsSpritePane ? false : true;
xPane->initialize(aArguments);
-
+
// Store pane and canvases and windows in container.
::rtl::Reference<PresenterPaneContainer> pContainer (
mpPresenterController->GetPaneContainer());