diff options
Diffstat (limited to 'formula')
-rw-r--r-- | formula/inc/formula/funcutl.hxx | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/funcutl.cxx | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/formula/inc/formula/funcutl.hxx b/formula/inc/formula/funcutl.hxx index 1dc10e88c062..b9e326786915 100644 --- a/formula/inc/formula/funcutl.hxx +++ b/formula/inc/formula/funcutl.hxx @@ -63,6 +63,8 @@ public: void SetRefDialog( IControlReferenceHandler* pDlg ); inline IControlReferenceHandler* GetRefDialog() { return pAnyRefDlg; } + Window* GetLabelWidgetForShrinkMode() { return m_pLabelWidget; } + void SetLabelWidgetForShrinkMode(Window *pLabel) { m_pLabelWidget = pLabel; } }; diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index 4b047d31185c..64830d5d73e9 100644 --- a/formula/source/ui/dlg/funcutl.cxx +++ b/formula/source/ui/dlg/funcutl.cxx @@ -849,7 +849,8 @@ void EditBox::UpdateOldSel() RefEdit::RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResId& rResId ) : Edit( _pParent, rResId ), - pAnyRefDlg( pParent ) + pAnyRefDlg( pParent ), + m_pLabelWidget(NULL) { aTimer.SetTimeoutHdl( LINK( this, RefEdit, UpdateHdl ) ); aTimer.SetTimeout( SC_ENABLE_TIME ); @@ -857,7 +858,8 @@ RefEdit::RefEdit( Window* _pParent,IControlReferenceHandler* pParent, const ResI RefEdit::RefEdit( Window* _pParent, WinBits nStyle ) : Edit( _pParent, nStyle ), - pAnyRefDlg( NULL ) + pAnyRefDlg( NULL ), + m_pLabelWidget(NULL) { aTimer.SetTimeoutHdl( LINK( this, RefEdit, UpdateHdl ) ); aTimer.SetTimeout( SC_ENABLE_TIME ); |