diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 14:48:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-16 12:03:36 +0000 |
commit | 34a94e6855782667f54110b0ff68bf3bf8f058a2 (patch) | |
tree | 7ced9f450c83fdf57f2c269b36a18dd19caa68d4 /sc/source/ui/miscdlgs | |
parent | ae1674c0dcf8e422a4d7ebfed0fdfb11a441357f (diff) |
Resolves: rhbz#1047871 convert conditional formattting dialog to widget layout
the wrapper dialog not the list contained within
Change-Id: I4f4793888885ec5d991f1ab4218cc371726558e6
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 17560892932e..00945de87c5a 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -1031,9 +1031,12 @@ void ScRefHandler::RefInputDone( sal_Bool bForced ) //------------------------------------------------------------------------------- -ScRefHdlModalImpl::ScRefHdlModalImpl( Window* pParent, const ResId& rResId ) - : ModalDialog( pParent, rResId ), - ScRefHandler(dynamic_cast<Window&>(*this), NULL, true) {} +ScRefHdlModalImpl::ScRefHdlModalImpl(Window* pParent, const OString& rID, + const OUString& rUIXMLDescription) + : ModalDialog( pParent, rID, rUIXMLDescription) + , ScRefHandler(dynamic_cast<Window&>(*this), NULL, true) +{ +} long ScRefHdlModalImpl::PreNotify( NotifyEvent& rNEvt ) { @@ -1047,7 +1050,10 @@ void ScRefHdlModalImpl::StateChanged( StateChangedType nStateChange ) ScRefHandler::stateChanged( nStateChange, true ); } -ScAnyRefModalDlg::ScAnyRefModalDlg( Window* pParent, const ResId &rResId ): - ScRefHdlModalImpl( pParent, rResId ) {} +ScAnyRefModalDlg::ScAnyRefModalDlg(Window* pParent, const OString& rID, + const OUString& rUIXMLDescription) + : ScRefHdlModalImpl(pParent, rID, rUIXMLDescription) +{ +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |