Kaydet (Commit) 0a5f0637 authored tarafından Caolán McNamara's avatar Caolán McNamara

ResId rResId -> ResId& rResId

Change-Id: If2a5ce7d9163c9ef1862850ec3b89a5e600e9636
üst fac03549
......@@ -183,7 +183,7 @@ public:
virtual long PreNotify( NotifyEvent& rNEvt );
virtual void StateChanged( StateChangedType nStateChange );
protected:
ScRefHdlModalImpl( Window* pParent, ResId& rResId );
ScRefHdlModalImpl( Window* pParent, const ResId& rResId );
private:
};
......@@ -258,7 +258,7 @@ void ScRefHdlrImplBase<TWindow, bBindRef>::StateChanged( StateChangedType nState
class ScAnyRefModalDlg : public ScRefHdlModalImpl
{
public:
ScAnyRefModalDlg(Window* pParent, ResId rResId);
ScAnyRefModalDlg(Window* pParent, const ResId& rResId);
};
//============================================================================
......
......@@ -1031,8 +1031,8 @@ void ScRefHandler::RefInputDone( sal_Bool bForced )
//-------------------------------------------------------------------------------
ScRefHdlModalImpl::ScRefHdlModalImpl( Window* pParent, ResId& rResId ):
ModalDialog( pParent, rResId ),
ScRefHdlModalImpl::ScRefHdlModalImpl( Window* pParent, const ResId& rResId )
: ModalDialog( pParent, rResId ),
ScRefHandler(dynamic_cast<Window&>(*this), NULL, true) {}
long ScRefHdlModalImpl::PreNotify( NotifyEvent& rNEvt )
......@@ -1047,7 +1047,7 @@ void ScRefHdlModalImpl::StateChanged( StateChangedType nStateChange )
ScRefHandler::stateChanged( nStateChange, true );
}
ScAnyRefModalDlg::ScAnyRefModalDlg( Window* pParent, ResId aResId ):
ScRefHdlModalImpl( pParent, aResId ) {}
ScAnyRefModalDlg::ScAnyRefModalDlg( Window* pParent, const ResId &rResId ):
ScRefHdlModalImpl( pParent, rResId ) {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment