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')
-rwxr-xr-xsd/source/ui/framework/factories/ChildWindowPane.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index 5e4e6df987f0..982f96e5e050 100755
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -45,7 +45,7 @@ namespace sd { namespace framework {
ChildWindowPane::ChildWindowPane (
const Reference<XResourceId>& rxPaneId,
- USHORT nChildWindowId,
+ sal_uInt16 nChildWindowId,
ViewShellBase& rViewShellBase,
::std::auto_ptr<SfxShell> pShell)
: ChildWindowPaneInterfaceBase(rxPaneId,(::Window*)NULL),
@@ -67,7 +67,7 @@ ChildWindowPane::ChildWindowPane (
{
// The ViewShellBase has already been activated. Make
// the child window visible as soon as possible.
- pViewFrame->SetChildWindow(mnChildWindowId, TRUE);
+ pViewFrame->SetChildWindow(mnChildWindowId, sal_True);
OSL_TRACE("ChildWindowPane:activating now");
}
else
@@ -89,7 +89,7 @@ ChildWindowPane::ChildWindowPane (
// The ViewShellBase has not yet been activated. Hide the
// window and wait a little before it is made visible. See
// comments in the GetWindow() method for an explanation.
- pViewFrame->SetChildWindow(mnChildWindowId, FALSE);
+ pViewFrame->SetChildWindow(mnChildWindowId, sal_False);
OSL_TRACE("ChildWindowPane:base not active");
}
}
@@ -111,7 +111,7 @@ void ChildWindowPane::Hide (void)
if (pViewFrame != NULL)
if (pViewFrame->KnowsChildWindow(mnChildWindowId))
if (pViewFrame->HasChildWindow(mnChildWindowId))
- pViewFrame->SetChildWindow(mnChildWindowId, FALSE);
+ pViewFrame->SetChildWindow(mnChildWindowId, sal_False);
// Release the window because when the child window is shown again it
// may use a different window.
@@ -167,7 +167,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
if ( ! pViewFrame->KnowsChildWindow(mnChildWindowId))
break;
- pViewFrame->SetChildWindow(mnChildWindowId, TRUE);
+ pViewFrame->SetChildWindow(mnChildWindowId, sal_True);
SfxChildWindow* pChildWindow = pViewFrame->GetChildWindow(mnChildWindowId);
if (pChildWindow == NULL)
if (pViewFrame->HasChildWindow(mnChildWindowId))
@@ -175,7 +175,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
// The child window is not yet visible. Ask the view frame
// to show it and try again to get access to the child
// window.
- pViewFrame->ShowChildWindow(mnChildWindowId, TRUE);
+ pViewFrame->ShowChildWindow(mnChildWindowId, sal_True);
pChildWindow = pViewFrame->GetChildWindow(mnChildWindowId);
}