summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-28 13:18:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-28 14:30:44 +0000
commit655397f53d1244b7df00c17487ff3717eb804507 (patch)
tree5cf9dcfb2907b9a514bf6bba9c573b69551f4903 /sc/source/ui/attrdlg
parenteab105e9433c4a01b0006b6eac085ba92af0763d (diff)
drop RID_SCDLG_INSCONT, etc. now
Change-Id: Iee2eaf89f662b61fc4ec32b353b13417ee6b2610
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx16
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx1
2 files changed, 2 insertions, 15 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index 0229bfb712f5..fea71db24374 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -788,23 +788,11 @@ AbstractScInsertCellDlg * ScAbstractDialogFactory_Impl::CreateScInsertCellDlg( W
}
AbstractScInsertContentsDlg * ScAbstractDialogFactory_Impl::CreateScInsertContentsDlg( Window* pParent,
- int nId,
sal_uInt16 nCheckDefaults,
const OUString* pStrTitle )
{
- ScInsertContentsDlg * pDlg=NULL;
- switch ( nId )
- {
- case RID_SCDLG_INSCONT :
- pDlg = new ScInsertContentsDlg( pParent, nCheckDefaults,pStrTitle );
- break;
- default:
- break;
- }
-
- if ( pDlg )
- return new AbstractScInsertContentsDlg_Impl( pDlg );
- return 0;
+ ScInsertContentsDlg * pDlg = new ScInsertContentsDlg(pParent, nCheckDefaults, pStrTitle);
+ return new AbstractScInsertContentsDlg_Impl( pDlg );
}
AbstractScInsertTableDlg * ScAbstractDialogFactory_Impl::CreateScInsertTableDlg(Window* pParent, ScViewData& rViewData,
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index c819c28e94c0..8663baa063ff 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -451,7 +451,6 @@ public:
sal_Bool bDisallowCellMove = false );
virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( Window* pParent,
- int nId,
sal_uInt16 nCheckDefaults = 0,
const OUString* pStrTitle = NULL );