summaryrefslogtreecommitdiff
path: root/svx/source/form/fmshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmshell.cxx')
-rw-r--r--svx/source/form/fmshell.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 69d232a590ae..31ce9bcac9f8 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -495,7 +495,7 @@ void FmFormShell::Execute(SfxRequest &rReq)
if ( pGrabFocusItem && pGrabFocusItem->GetValue() )
{ // see below
SfxViewShell* pShell = GetViewShell();
- Window* pShellWnd = pShell ? pShell->GetWindow() : NULL;
+ vcl::Window* pShellWnd = pShell ? pShell->GetWindow() : NULL;
if ( pShellWnd )
pShellWnd->GrabFocus();
break;
@@ -555,7 +555,7 @@ void FmFormShell::Execute(SfxRequest &rReq)
if ( bHasControlFocus )
{
const OutputDevice* pDevice = GetCurrentViewDevice();
- Window* pWindow = dynamic_cast< Window* >( const_cast< OutputDevice* >( pDevice ) );
+ vcl::Window* pWindow = dynamic_cast< vcl::Window* >( const_cast< OutputDevice* >( pDevice ) );
if ( pWindow )
pWindow->GrabFocus();
}
@@ -1327,7 +1327,7 @@ void FmFormShell::ToggleControlFocus( const SdrUnoObj& i_rUnoObject, const SdrVi
if ( bHasControlFocus )
{
- Window* pWindow( dynamic_cast< Window* >( &i_rDevice ) );
+ vcl::Window* pWindow( dynamic_cast< vcl::Window* >( &i_rDevice ) );
OSL_ENSURE( pWindow, "FmFormShell::ToggleControlFocus: I need a Window, really!" );
if ( pWindow )
pWindow->GrabFocus();