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 /sfx2/source/inc/templdgi.hxx | |
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 'sfx2/source/inc/templdgi.hxx')
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 2cbe1b7ec544..9da6c9772900 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -61,12 +61,12 @@ protected: sal_uInt16 nModifier; public: - DropListBox_Impl( Window* pParent, const ResId& rId, SfxCommonTemplateDialog_Impl* pD ) + DropListBox_Impl( vcl::Window* pParent, const ResId& rId, SfxCommonTemplateDialog_Impl* pD ) : SvTreeListBox(pParent, rId) , pDialog(pD) , nModifier(0) {} - DropListBox_Impl( Window* pParent, WinBits nWinBits, SfxCommonTemplateDialog_Impl* pD ) + DropListBox_Impl( vcl::Window* pParent, WinBits nWinBits, SfxCommonTemplateDialog_Impl* pD ) : SvTreeListBox(pParent, nWinBits) , pDialog(pD) , nModifier(0) @@ -159,7 +159,7 @@ protected: SfxBindings* pBindings; SfxTemplateControllerItem* pBoundItems[COUNT_BOUND_FUNC]; - Window* pWindow; + vcl::Window* pWindow; SfxModule* pModule; Timer* pTimer; @@ -263,7 +263,7 @@ protected: public: TYPEINFO_OVERRIDE(); - SfxCommonTemplateDialog_Impl( SfxBindings* pB, Window*, bool ); + SfxCommonTemplateDialog_Impl( SfxBindings* pB, vcl::Window*, bool ); virtual ~SfxCommonTemplateDialog_Impl(); DECL_LINK( MenuSelectHdl, Menu * ); @@ -274,10 +274,10 @@ public: virtual void EnableHide( bool b = true ) { bCanHide = b; } virtual void EnableShow( bool b = true ) { bCanShow = b; } - Window* GetWindow() { return pWindow; } + vcl::Window* GetWindow() { return pWindow; } void EnableTreeDrag( bool b = true ); - void ExecuteContextMenu_Impl( const Point& rPos, Window* pWin ); + void ExecuteContextMenu_Impl( const Point& rPos, vcl::Window* pWin ); void EnableExample_Impl( sal_uInt16 nId, bool bEnable ); SfxStyleFamily GetActualFamily() const; OUString GetSelectedEntry() const; @@ -302,7 +302,7 @@ protected: virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) SAL_OVERRIDE; virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE; public: - DropToolBox_Impl(Window* pParent, SfxTemplateDialog_Impl* pTemplateDialog); + DropToolBox_Impl(vcl::Window* pParent, SfxTemplateDialog_Impl* pTemplateDialog); virtual ~DropToolBox_Impl(); }; // class SfxTemplateDialog_Impl ------------------------------------------ @@ -315,7 +315,7 @@ private: friend class DropToolBox_Impl; friend class SfxTemplatePanelControl; - Window* m_pFloat; + vcl::Window* m_pFloat; bool m_bZoomIn; DropToolBox_Impl m_aActionTbL; ToolBox m_aActionTbR; |