summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basidesh.cxx
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-11-30 02:11:15 -0500
committerAugust Sodora <augsod@gmail.com>2011-11-30 02:11:59 -0500
commit1eb974c1429967ce76db4b16192a9a95b3e8cc6f (patch)
tree11512a5c5613d5609dcfd9530992830ad0095336 /basctl/source/basicide/basidesh.cxx
parente57e5b0c7f1a5ec6cd008226f126438d65cbd8d0 (diff)
Convert group of consts to enum
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r--basctl/source/basicide/basidesh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index b9d2dc274091..0e77823a949c 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -131,7 +131,7 @@ public:
rtl::OUString sModuleName;
if( mpShell && ( Event.Accessor >>= sModuleName ) )
{
- IDEBaseWindow* pWin = mpShell->FindWindow( mpShell->m_aCurDocument, mpShell->m_aCurLibName, sModuleName, BASICIDE_TYPE_MODULE, sal_True );
+ IDEBaseWindow* pWin = mpShell->FindWindow( mpShell->m_aCurDocument, mpShell->m_aCurLibName, sModuleName, BasicIDEType::Module, sal_True );
if( pWin )
mpShell->RemoveWindow( pWin, sal_True, sal_True );
}
@@ -804,7 +804,7 @@ void BasicIDEShell::UpdateWindows()
if ( !pWin )
pWin = CreateBasWin( *doc, aLibName, aModName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aModName &&
- pLibInfoItem->GetCurrentType() == BASICIDE_TYPE_MODULE )
+ pLibInfoItem->GetCurrentType() == BasicIDEType::Module )
{
pNextActiveWindow = (IDEBaseWindow*)pWin;
}
@@ -835,7 +835,7 @@ void BasicIDEShell::UpdateWindows()
if ( !pWin )
pWin = CreateDlgWin( *doc, aLibName, aDlgName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aDlgName &&
- pLibInfoItem->GetCurrentType() == BASICIDE_TYPE_DIALOG )
+ pLibInfoItem->GetCurrentType() == BasicIDEType::Dialog )
{
pNextActiveWindow = (IDEBaseWindow*)pWin;
}