diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-26 15:31:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:54 +0100 |
commit | 2f6e8daf883fe67a1cebc2cdf9d54e41b064a55c (patch) | |
tree | 9bb4ec91a3b96fd8b8a535b69bed30ed46d9101c /cui/source/factory | |
parent | de43297de3b81fd60894e4aed8574d51c68a4800 (diff) |
adapt insert character dialog to new layout
Change-Id: I5561c2684d0957b65aef0d139e9210ebdd703153
Diffstat (limited to 'cui/source/factory')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index e65d314a5b6e..8c8900375032 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1302,24 +1302,13 @@ AbstractSvxHlinkDlgMarkWnd* AbstractDialogFactory_Impl::CreateSvxHlinkDlgMarkWnd return 0; } -SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( sal_uInt32 nResId, +SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( sal_uInt32, Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& , const SfxItemSet* pAttrSet ) { - SfxModalDialog* pDlg=NULL; - switch ( nResId ) - { - case RID_SVXDLG_CHARMAP : - pDlg = new SvxCharacterMap( pParent, sal_True, pAttrSet ); - break; - default: - break; - } - - if ( pDlg ) - return new AbstractSfxDialog_Impl( pDlg ); - return 0; + SfxModalDialog* pDlg = new SvxCharacterMap( pParent, sal_True, pAttrSet ); + return new AbstractSfxDialog_Impl( pDlg ); } SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabItemDialog( Window* pParent, |