diff options
Diffstat (limited to 'sfx2/source/dialog/newstyle.cxx')
-rw-r--r-- | sfx2/source/dialog/newstyle.cxx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sfx2/source/dialog/newstyle.cxx b/sfx2/source/dialog/newstyle.cxx index b2927b692375..56ae0e9c1aca 100644 --- a/sfx2/source/dialog/newstyle.cxx +++ b/sfx2/source/dialog/newstyle.cxx @@ -50,8 +50,6 @@ IMPL_LINK( SfxNewStyleDlg, OKHdl, Control *, pControl ) return 0; } - - IMPL_LINK_INLINE_START( SfxNewStyleDlg, ModifyHdl, ComboBox *, pBox ) { m_pOKBtn->Enable( !comphelper::string::remove(pBox->GetText(), ' ').isEmpty() ); @@ -59,16 +57,11 @@ IMPL_LINK_INLINE_START( SfxNewStyleDlg, ModifyHdl, ComboBox *, pBox ) } IMPL_LINK_INLINE_END( SfxNewStyleDlg, ModifyHdl, ComboBox *, pBox ) -// CTOR / DTOR ----------------------------------------------------------- - -SfxNewStyleDlg::SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& rInPool ) : - - ModalDialog( pParent, "CreateStyleDialog", "sfx/ui/newstyle.ui" ), - - aQueryOverwriteBox ( this, SfxResId( MSG_OVERWRITE ) ), - - rPool( rInPool ) - +SfxNewStyleDlg::SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& rInPool ) + : ModalDialog(pParent, "CreateStyleDialog", "sfx/ui/newstyle.ui") + , aQueryOverwriteBox(this, SfxResId(STR_QUERY_OVERWRITE), + VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO) + , rPool(rInPool) { get(m_pColBox, "stylename"); m_pColBox->set_width_request(m_pColBox->approximate_char_width() * 25); @@ -87,8 +80,6 @@ SfxNewStyleDlg::SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& rInPool } } - - SfxNewStyleDlg::~SfxNewStyleDlg() { } |