summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/spelleng.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/spelleng.cxx')
-rw-r--r--sc/source/ui/view/spelleng.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx
index 4d5a2e352da8..ad7e6bc54b1e 100644
--- a/sc/source/ui/view/spelleng.cxx
+++ b/sc/source/ui/view/spelleng.cxx
@@ -285,7 +285,7 @@ void ScSpellingEngine::ConvertAll( EditView& rEditView )
OSL_ENSURE( eState != EE_SPELL_NOSPELLER, "ScSpellingEngine::Convert - no spell checker" );
if( eState == EE_SPELL_NOLANGUAGE )
{
- Window* pParent = GetDialogParent();
+ vcl::Window* pParent = GetDialogParent();
ScWaitCursorOff aWaitOff( pParent );
InfoBox( pParent, ScGlobal::GetRscString( STR_NOLANGERR ) ).Execute();
}
@@ -303,7 +303,7 @@ bool ScSpellingEngine::NeedsConversion()
bool ScSpellingEngine::ShowTableWrapDialog()
{
- Window* pParent = GetDialogParent();
+ vcl::Window* pParent = GetDialogParent();
ScWaitCursorOff aWaitOff( pParent );
MessBox aMsgBox( pParent, WinBits( WB_YES_NO | WB_DEF_YES ),
ScGlobal::GetRscString( STR_MSSG_DOSUBTOTALS_0 ),
@@ -313,18 +313,18 @@ bool ScSpellingEngine::ShowTableWrapDialog()
void ScSpellingEngine::ShowFinishDialog()
{
- Window* pParent = GetDialogParent();
+ vcl::Window* pParent = GetDialogParent();
ScWaitCursorOff aWaitOff( pParent );
InfoBox( pParent, ScGlobal::GetRscString( STR_SPELLING_STOP_OK ) ).Execute();
}
-Window* ScSpellingEngine::GetDialogParent()
+vcl::Window* ScSpellingEngine::GetDialogParent()
{
sal_uInt16 nWinId = ScSpellDialogChildWindow::GetChildWindowId();
SfxViewFrame* pViewFrm = mrViewData.GetViewShell()->GetViewFrame();
if( pViewFrm->HasChildWindow( nWinId ) )
if( SfxChildWindow* pChild = pViewFrm->GetChildWindow( nWinId ) )
- if( Window* pWin = pChild->GetWindow() )
+ if( vcl::Window* pWin = pChild->GetWindow() )
if( pWin->IsVisible() )
return pWin;