summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-23 11:20:40 +0200
committerNoel Grandin <noel@peralex.com>2014-09-23 14:11:39 +0300
commit827c46e7d75000cb03b0ce21759f9d0825f0c096 (patch)
tree3a84ccc45d54607c61328b18f58f914c1d6ec240 /include/formula
parent7cbbefae224ab85343accb42b03f9431ec693a83 (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 'include/formula')
-rw-r--r--include/formula/formula.hxx8
-rw-r--r--include/formula/funcutl.hxx12
2 files changed, 10 insertions, 10 deletions
diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx
index 6aa3f4d4ed15..ed412c58ac64 100644
--- a/include/formula/formula.hxx
+++ b/include/formula/formula.hxx
@@ -50,7 +50,7 @@ class FORMULA_DLLPUBLIC FormulaModalDialog : public ModalDialog, public formul
{
friend class FormulaDlg_Impl;
public:
- FormulaModalDialog( Window* pParent
+ FormulaModalDialog( vcl::Window* pParent
, bool _bSupportFunctionResult
, bool _bSupportResult
, bool _bSupportMatrix
@@ -69,7 +69,7 @@ protected:
::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton = NULL );
void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = NULL );
void RefInputDoneAfter( bool bForced = false );
- void SetFocusWin(Window *pWin,const OString& nUniqueId);
+ void SetFocusWin(vcl::Window *pWin,const OString& nUniqueId);
void SetMeText(const OUString& _sText);
void Update();
@@ -91,7 +91,7 @@ class FORMULA_DLLPUBLIC FormulaDlg:
public:
FormulaDlg( SfxBindings* pB
, SfxChildWindow* pCW
- , Window* pParent
+ , vcl::Window* pParent
, bool _bSupportFunctionResult
, bool _bSupportResult
, bool _bSupportMatrix
@@ -113,7 +113,7 @@ protected:
::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton = NULL );
void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = NULL );
void RefInputDoneAfter( bool bForced = false );
- void SetFocusWin(Window *pWin,const OString& nUniqueId);
+ void SetFocusWin(vcl::Window *pWin,const OString& nUniqueId);
void HighlightFunctionParas(const OUString& aFormula);
void SetMeText(const OUString& _sText);
diff --git a/include/formula/funcutl.hxx b/include/formula/funcutl.hxx
index 5752cf078de8..097d73772bf5 100644
--- a/include/formula/funcutl.hxx
+++ b/include/formula/funcutl.hxx
@@ -34,7 +34,7 @@ class FORMULA_DLLPUBLIC RefEdit : public Edit
private:
Timer aTimer;
IControlReferenceHandler* pAnyRefDlg; // parent dialog
- Window* pLabelWidget;
+ vcl::Window* pLabelWidget;
DECL_LINK( UpdateHdl, void* );
@@ -44,8 +44,8 @@ protected:
virtual void LoseFocus() SAL_OVERRIDE;
public:
- RefEdit( Window* _pParent,IControlReferenceHandler* pParent, Window* pShrinkModeLabel, const ResId& rResId );
- RefEdit( Window* _pParent, Window* pShrinkModeLabel, WinBits nStyle = WB_BORDER );
+ RefEdit( vcl::Window* _pParent,IControlReferenceHandler* pParent, vcl::Window* pShrinkModeLabel, const ResId& rResId );
+ RefEdit( vcl::Window* _pParent, vcl::Window* pShrinkModeLabel, WinBits nStyle = WB_BORDER );
virtual ~RefEdit();
@@ -64,14 +64,14 @@ public:
void StartUpdateData();
- void SetReferences( IControlReferenceHandler* pDlg, Window *pLabelWidget );
+ void SetReferences( IControlReferenceHandler* pDlg, vcl::Window *pLabelWidget );
IControlReferenceHandler* GetRefDialog()
{
return pAnyRefDlg;
}
- Window* GetLabelWidgetForShrinkMode()
+ vcl::Window* GetLabelWidgetForShrinkMode()
{
return pLabelWidget;
}
@@ -95,7 +95,7 @@ protected:
virtual void LoseFocus() SAL_OVERRIDE;
public:
- RefButton(Window* _pParent, WinBits nStyle = 0);
+ RefButton(vcl::Window* _pParent, WinBits nStyle = 0);
void SetReferences( IControlReferenceHandler* pDlg, RefEdit* pEdit );
void SetStartImage();
void SetEndImage();