From a9b33fc3044c001a652865baf6fb870f04c91a96 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 Mar 2013 12:53:12 +0000 Subject: make formula refButton and refEdit loadable from .ui Change-Id: I2ad13cd8de2c0f8f5672a30c3c1117708368b05f --- formula/inc/formula/funcutl.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'formula/inc') diff --git a/formula/inc/formula/funcutl.hxx b/formula/inc/formula/funcutl.hxx index 7144350ae149..1dc10e88c062 100644 --- a/formula/inc/formula/funcutl.hxx +++ b/formula/inc/formula/funcutl.hxx @@ -44,6 +44,7 @@ protected: public: RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResId& rResId ); + RefEdit( Window* _pParent, WinBits nStyle = WB_BORDER ); virtual ~RefEdit(); void SetRefString( const XubString& rStr ); @@ -84,8 +85,9 @@ protected: virtual void LoseFocus(); public: - RefButton( Window* _pParent, const ResId& rResId); - RefButton( Window* _pParent, const ResId& rResId, RefEdit* pEdit ,IControlReferenceHandler* pDlg); + RefButton(Window* _pParent, const ResId& rResId); + RefButton(Window* _pParent, WinBits nStyle = 0); + RefButton(Window* _pParent, const ResId& rResId, RefEdit* pEdit ,IControlReferenceHandler* pDlg); void SetReferences( IControlReferenceHandler* pDlg, RefEdit* pEdit ); -- cgit