summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basidesh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r--basctl/source/basicide/basidesh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index d23da94d268f..765b22ddefd6 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -715,7 +715,7 @@ void Shell::UpdateWindows()
if ( !pWin )
pWin = CreateBasWin( doc, aLibName, aModName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aModName &&
- pLibInfoItem->GetCurrentType() == TYPE_MODULE )
+ pLibInfoItem->GetCurrentType() == SBX_TYPE_MODULE )
{
pNextActiveWindow = pWin;
}
@@ -747,7 +747,7 @@ void Shell::UpdateWindows()
if ( !pWin )
pWin = CreateDlgWin( doc, aLibName, aDlgName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aDlgName &&
- pLibInfoItem->GetCurrentType() == TYPE_DIALOG )
+ pLibInfoItem->GetCurrentType() == SBX_TYPE_DIALOG )
{
pNextActiveWindow = pWin;
}