diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-23 11:20:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-23 14:11:39 +0300 |
commit | 827c46e7d75000cb03b0ce21759f9d0825f0c096 (patch) | |
tree | 3a84ccc45d54607c61328b18f58f914c1d6ec240 /sc/source/ui/view/spelleng.cxx | |
parent | 7cbbefae224ab85343accb42b03f9431ec693a83 (diff) |
fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
Diffstat (limited to 'sc/source/ui/view/spelleng.cxx')
-rw-r--r-- | sc/source/ui/view/spelleng.cxx | 10 |
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; |