summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-08 13:41:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-08 13:42:32 +0000
commit213524cf5a2351a2a022495d4988437720401760 (patch)
tree4ddd126f009b3b77c61f3f43a45c949ed2317124 /formula/inc
parent4e0c6a0ac78d3c68922e032eec7f9c05cc39023a (diff)
make link RefButton and widget for shrunk dialog title explicit
Change-Id: Ia6dd6cc4cf89b067310639bc3da72abbc6fa1ad2
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/funcutl.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/formula/inc/formula/funcutl.hxx b/formula/inc/formula/funcutl.hxx
index b9e326786915..76a2287ed45c 100644
--- a/formula/inc/formula/funcutl.hxx
+++ b/formula/inc/formula/funcutl.hxx
@@ -62,9 +62,7 @@ public:
void StartUpdateData();
void SetRefDialog( IControlReferenceHandler* pDlg );
- inline IControlReferenceHandler* GetRefDialog() { return pAnyRefDlg; }
- Window* GetLabelWidgetForShrinkMode() { return m_pLabelWidget; }
- void SetLabelWidgetForShrinkMode(Window *pLabel) { m_pLabelWidget = pLabel; }
+ IControlReferenceHandler* GetRefDialog() { return pAnyRefDlg; }
};
@@ -79,6 +77,7 @@ private:
OUString aExpandQuickHelp;
IControlReferenceHandler* pAnyRefDlg; // parent dialog
RefEdit* pRefEdit; // zugeordnetes Edit-Control
+ Window* pLabelWidget;
protected:
virtual void Click();
@@ -89,13 +88,17 @@ protected:
public:
RefButton(Window* _pParent, const ResId& rResId);
RefButton(Window* _pParent, WinBits nStyle = 0);
- RefButton(Window* _pParent, const ResId& rResId, RefEdit* pEdit ,IControlReferenceHandler* pDlg);
+ RefButton(Window* _pParent, const ResId& rResId,
+ RefEdit* pEdit, Window* pShrinkModeLabel,
+ IControlReferenceHandler* pDlg);
- void SetReferences( IControlReferenceHandler* pDlg, RefEdit* pEdit );
+ void SetReferences( IControlReferenceHandler* pDlg,
+ RefEdit* pEdit, Window* pShrinkModeLabel );
void SetStartImage();
void SetEndImage();
- inline void DoRef() { Click(); }
+ void DoRef() { Click(); }
+ Window* GetLabelWidgetForShrinkMode() { return pLabelWidget; }
};
} // formula