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 70b400443180..e86a03ef5ac9 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -688,7 +688,7 @@ void Shell::UpdateWindows()
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aModName &&
pLibInfoItem->GetCurrentType() == TYPE_MODULE )
{
- pNextActiveWindow = static_cast<BaseWindow*>(pWin);
+ pNextActiveWindow = pWin;
}
}
}
@@ -719,7 +719,7 @@ void Shell::UpdateWindows()
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aDlgName &&
pLibInfoItem->GetCurrentType() == TYPE_DIALOG )
{
- pNextActiveWindow = static_cast<BaseWindow*>(pWin);
+ pNextActiveWindow = pWin;
}
}
}