summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 16:42:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 20:21:52 +0000
commit604426cc41770a4af56e1fa8ac1337db34ef32cc (patch)
tree3e38d19f78b971d62be6cec9daa4bf1c7b4857c6 /sc/source/ui/attrdlg
parent0b9aa86ec7896775f026ee1a117a014fa8c95581 (diff)
convert change chart data source dialog to .ui
Change-Id: Iecccfbcd6b1eaec9d14c594812293c3e2acfda46
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 381e8681de67..ba419fe5b62a 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -638,23 +638,11 @@ AbstractScAutoFormatDlg * ScAbstractDialogFactory_Impl::CreateScAutoFormatDlg( W
}
AbstractScColRowLabelDlg * ScAbstractDialogFactory_Impl::CreateScColRowLabelDlg(Window* pParent,
- int nId,
sal_Bool bCol ,
sal_Bool bRow)
{
- ScColRowLabelDlg* pDlg=NULL;
- switch ( nId )
- {
- case RID_SCDLG_CHARTCOLROW :
- pDlg = new ScColRowLabelDlg( pParent, bCol,bRow );
- break;
- default:
- break;
- }
-
- if ( pDlg )
- return new AbstractScColRowLabelDlg_Impl( pDlg );
- return 0;
+ ScColRowLabelDlg* pDlg = new ScColRowLabelDlg( pParent, bCol,bRow );
+ return new AbstractScColRowLabelDlg_Impl( pDlg );
}
AbstractScSortWarningDlg* ScAbstractDialogFactory_Impl::CreateScSortWarningDlg( Window* pParent, const OUString& rExtendText, const OUString& rCurrentText )
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index 141fd5e04d20..c58bf4fc069d 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -407,7 +407,6 @@ public:
ScDocument* pDoc,
int nId);
virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (Window* pParent,
- int nId,
sal_Bool bCol = false,
sal_Bool bRow = false);