summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/ChildWindowPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/ChildWindowPane.cxx')
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index fc0be98867e0..f5b2ed3bb6f2 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.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
@@ -147,7 +147,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
if (mxWindow.is())
// Window already exists => nothing to do.
break;
-
+
// When the window is not yet present then obtain it only when the
// shell has already been activated. The activation is not
// necessary for the code to work properly but is used to optimize
@@ -157,7 +157,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
// Impress takes longer.
if ( ! mbHasBeenActivated && mpShell.get()!=NULL && ! mpShell->IsActive())
break;
-
+
mbHasBeenActivated = true;
SfxViewFrame* pViewFrame = mrViewShellBase.GetViewFrame();
if (pViewFrame == NULL)
@@ -194,7 +194,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
// At last, we have access to the window and its UNO wrapper.
mpWindow = &pDockingWindow->GetContentWindow();
mxWindow = VCLUnoHelper::GetInterface(mpWindow);
-
+
// Register as window listener to be informed when the child window
// is hidden.
if (mxWindow.is())
@@ -219,11 +219,11 @@ Reference<awt::XWindow> SAL_CALL ChildWindowPane::getWindow (void)
IMPLEMENT_FORWARD_XINTERFACE2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
IMPLEMENT_FORWARD_XTYPEPROVIDER2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
@@ -236,7 +236,7 @@ void SAL_CALL ChildWindowPane::disposing (const lang::EventObject& rEvent)
throw (RuntimeException)
{
ThrowIfDisposed();
-
+
if (rEvent.Source == mxWindow)
{
// The window is gone but the pane remains alive. The next call to