summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-05 21:23:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-06 07:02:42 +0100
commit5ae49477396c1a0d7dd2d387bf46ac8c02cbeb53 (patch)
tree098574240894ce771542359b971e274a928e8c56 /sfx2
parent13bbb6f56d49bf891f6b6f075c1d75100fbc1a63 (diff)
Window::GetType returns WindowType not ResourceType
yikes! Change-Id: I5aba88fbc1e452c85fb4a75260bc3518bdf5facc
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/childwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 50634e774d11..cc56952b40a4 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -511,11 +511,11 @@ SfxChildWindowContext::~SfxChildWindowContext()
FloatingWindow* SfxChildWindowContext::GetFloatingWindow() const
{
Window *pParent = pWindow->GetParent();
- if ( pParent->GetType() == RSC_DOCKINGWINDOW || pParent->GetType() == RSC_TOOLBOX )
+ if (pParent->GetType() == WINDOW_DOCKINGWINDOW || pParent->GetType() == WINDOW_TOOLBOX)
{
return ((DockingWindow*)pParent)->GetFloatingWindow();
}
- else if ( pParent->GetType() == RSC_FLOATINGWINDOW )
+ else if (pParent->GetType() == WINDOW_FLOATINGWINDOW)
{
return (FloatingWindow*) pParent;
}