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 /sd/source/ui/dlg/dlgass.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 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r-- | sd/source/ui/dlg/dlgass.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 0e7f4d39263b..dfbab91b5147 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -92,7 +92,7 @@ public: class NextButton { public: - NextButton (::Window* pParent); + NextButton (vcl::Window* pParent); void ForceFocusEventBroadcast (void); void SetClickHdl (const Link& rLink); @@ -108,7 +108,7 @@ private: class AssistentDlgImpl : public SfxListener { public: - AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, bool bAutoPilot ); + AssistentDlgImpl( vcl::Window* pWindow, const Link& rFinishLink, bool bAutoPilot ); virtual ~AssistentDlgImpl(); /// Local mutex used to serialize concurrent method calls. @@ -159,7 +159,7 @@ public: */ bool mbPreviewUpdating; - ::Window* mpWindow; + vcl::Window* mpWindow; void SavePassword( SfxObjectShellLock xDoc, const OUString& rPath ); void RestorePassword( SfxItemSet* pSet, const OUString& rPath ); @@ -318,7 +318,7 @@ public: }; -AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, bool bAutoPilot ) : +AssistentDlgImpl::AssistentDlgImpl( vcl::Window* pWindow, const Link& rFinishLink, bool bAutoPilot ) : mpTemplateRegion(NULL), mpLayoutRegion(NULL), mbUserDataDirty(false), @@ -1449,7 +1449,7 @@ void AssistentDlgImpl::UpdatePreview( bool bDocPreview ) { CloseDocShell(); - ::Window *pParent = Application::GetDefDialogParent(); + vcl::Window *pParent = Application::GetDefDialogParent(); Application::SetDefDialogParent( mpWindow ); SfxErrorContext eEC(ERRCTX_SFX_LOADTEMPLATE,mpWindow); @@ -1495,7 +1495,7 @@ void AssistentDlgImpl::UpdatePreview( bool bDocPreview ) SfxObjectShellLock xLayoutDocShell; SfxErrorContext eEC(ERRCTX_SFX_LOADTEMPLATE,mpWindow); - ::Window *pParent = Application::GetDefDialogParent(); + vcl::Window *pParent = Application::GetDefDialogParent(); Application::SetDefDialogParent( mpWindow ); if(IsOwnFormat(aLayoutFile)) @@ -1721,7 +1721,7 @@ Image AssistentDlgImpl::GetUiIconForCommand (const OUString& sCommandURL) return aIcon; } -AssistentDlg::AssistentDlg(Window* pParent, bool bAutoPilot) : +AssistentDlg::AssistentDlg(vcl::Window* pParent, bool bAutoPilot) : ModalDialog(pParent, "Assistent", "modules/simpress/ui/assistentdialog.ui") { Link aFinishLink = LINK(this,AssistentDlg, FinishHdl); @@ -1826,7 +1826,7 @@ uno::Sequence< beans::NamedValue > AssistentDlg::GetPassword() //===== NextButton ============================================================ -NextButton::NextButton (::Window* pParent) : +NextButton::NextButton (vcl::Window* pParent) : mbIsFirstButtonActive(true) { AssistentDlg* assDlg = static_cast<AssistentDlg*>(pParent); |